From 18c11d6a33f8a503938bfe85eed109874d5a59f8 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Sun, 27 May 2018 17:40:26 +0200 Subject: [PATCH] keymap for general and git status --- config.org | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config.org b/config.org index e2e7060..8cbab45 100644 --- a/config.org +++ b/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