From aa6466dca57b48fc5512c55e26611d11786b2998 Mon Sep 17 00:00:00 2001 From: oreodave Date: Wed, 24 Jul 2019 02:12:53 +0100 Subject: +General keymap for global management --- doom.d/config.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'doom.d/config.org') diff --git a/doom.d/config.org b/doom.d/config.org index c2d237d..05a90b6 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -16,3 +16,28 @@ become my C one soon! #+BEGIN_SRC emacs-lisp (load-theme 'doom-molokai t) #+END_SRC +* General keymap +#+BEGIN_SRC emacs-lisp +(map! + :leader + :desc "M-x" "" 'counsel-M-x + :desc "Indent" "j" 'indent-region + :desc "Open calendar" "rc" '(lambda() (interactive) (find-file "~/Text/calendar.org")) + :desc "Open project files" "pf" 'projectile-find-file + + (:prefix "/" ; Search + :desc "Ag!" "a" '+ivy/ag + :desc "Search buffer" "/" 'swiper + ) + + (:prefix "w" ; Windows + :desc "Close window" "d" '+workspace/close-window-or-workspace + :desc "Switch window" "W" 'ace-window + ) + + (:prefix "b" + :desc "Close buffer" "d" 'doom/kill-this-buffer-in-all-windows + ) + ) +#+END_SRC + -- cgit v1.2.3-13-gbd6f