Browse Source

first evil dired keybindings

master
Marc Pohling 6 years ago
parent
commit
e18870f920
1 changed files with 18 additions and 1 deletions
  1. 19
      config.org

19
config.org

@ -379,7 +379,24 @@
:non-normal-prefix "M-SPC"
"t" '(counsel-org-tag :which-key "org-tag"))
#+END_SRC
A map for dired, based on [[https://github.com/emacs-evil/evil-collection/blob/master/evil-collection-dired.el][evil-collection]]
#+BEGIN_SRC emacs-lisp
(general-define-key
:states '(normal visual insert emacs)
:keymaps 'dired-mode-map
"q" '(quit-window :which-key "quit-window")
"j" '(dired-next-line :which-key "next line")
"k" '(dired-previous-line :which-key "previous line")
"D" '(dired-do-delete :which-key "delete")
"C" '(dired-do-copy :which-key "copy")
"t" '(:ignore t :which-key "dir navigation")
"td" '(dired-tree-down :which-key "tree down")
"tu" '(dired-tree-up :which-key "tree up")
"tn" '(dired-next-subdir :which-key "next subdir")
"tp" '(dired-prev-subdir :which-key "previous subdir")
)
#+END_SRC
** List buffers
Ibuffer is the improved version of list-buffers.
Make ibuffer the default buffer lister. [[http://ergoemacs.org/emacs/emacs_buffer_management.html][Source]]

Loading…
Cancel
Save