summaryrefslogtreecommitdiff
path: root/init_evil-leader-keys.el
blob: 0f31bdafc2dccb1af3770b1b066e0d6a4a23335b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;; All hail our evil leader!

;; prefix to the following commands in evil-mode
(evil-leader/set-leader ";") 

(evil-leader/set-key
  "e" 'ido-find-file ;; edit a file (TAB steals a buffer for autocompletion)
  "f" 'writeroom-mode ;; focus the current buffer
  "w" 'save-buffer ;; write
  "r" 'eval-buffer ;; reload
  "b" 'ido-switch-buffer ;; buffer switch (RET switches to last buffer)
  "q" 'save-buffers-kill-terminal ;; quit
  "k" 'kill-buffer-and-window ;; kill
  "x" 'shell ;; execute
  "g" 'magit-status ;; git
  "d" 'ido-dired) ;; directory (RET opens current directory)
Copyright 2019--2024 Marius PETER