Browse Source

keymap for general and git status

master
Marc Pohling 6 years ago
parent
commit
18c11d6a33
1 changed files with 9 additions and 6 deletions
  1. 15
      config.org

15
config.org

@ -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

Loading…
Cancel
Save