diff options
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config.org | 25 |
1 files changed, 25 insertions, 0 deletions
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" "<SPC>" '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 + |