|
|
@ -337,12 +337,15 @@ |
|
|
|
If there is no map defined, it is considered the global key map. |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(general-define-key |
|
|
|
:states '(normal visual insert emacs) |
|
|
|
:prefix "SPC" |
|
|
|
:non-normal-prefix "M-SPC" |
|
|
|
"TAB" '(ivy-switch-buffer :which-key "prev buffer") |
|
|
|
"SPC" '(counsel-M-x :which-key "M-x")) |
|
|
|
(general-define-key |
|
|
|
:states '(normal visual insert emacs) |
|
|
|
:prefix "SPC" |
|
|
|
:non-normal-prefix "M-SPC" |
|
|
|
"TAB" '(ivy-switch-buffer :which-key "prev buffer") |
|
|
|
"SPC" '(counsel-M-x :which-key "M-x") |
|
|
|
"g" '(:ignore t :which-key "Git") |
|
|
|
"gs" '(magit-status :which-key "git-status") |
|
|
|
) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
A map for org-mode |
|
|
|