How to "unbind" "j" in dired

Vegard Øye vegard_oye at hotmail.com
Fri Aug 5 18:53:10 CEST 2011


On 2011-08-04 17:27 +0200, York Zhao wrote:

> I don't like rebinding "j" in dired mode because the original
> binding was pretty useful that you can type any part of a file name
> (doesn't have to from the beginning) to locate the file. Is it
> better to make this keybinding customizable?

Commit f742d25 binds `dired-goto-file' to "J", which is unbound
in standard Dired.

Alternatively, you can add the following to .emacs after loading Evil:

    (require 'dired)
    (evil-define-key 'normal dired-mode-map "j" 'dired-goto-file)

-- 
Vegard



More information about the implementations-list mailing list