Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 610 Bytes

README.org

File metadata and controls

26 lines (19 loc) · 610 Bytes

Easy Change Directory

(require 'ecd)
(global-unset-key "\M-c")
(global-set-key (kbd "M-c") 'ecd)

(setq ecd-list
      '((?/ . "/")
        (?~ . "~/")
        (?d . "~/Downloads")
        (?e . "~/.emacs.d")))

On eshell, type M-c e

$ pushd ~/.emacs.d

On other mode, type M-c e

M-x eshell
$ pushd ~/.emacs.d
M-x dired-jump

I will either put the prefix of C-u, without moving, if you run from the minibuffer, and just put the path to kill-ring