diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-07-24 02:12:53 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-07-24 02:12:53 +0100 |
commit | aa6466dca57b48fc5512c55e26611d11786b2998 (patch) | |
tree | 0e5905324d97e399996d068b09f0d079474b9eb7 /doom.d/config.org | |
parent | 9ca3534e6a8032ec4d0ae685445da0c2c81aa6ce (diff) | |
download | dotfiles-aa6466dca57b48fc5512c55e26611d11786b2998.tar.gz dotfiles-aa6466dca57b48fc5512c55e26611d11786b2998.tar.bz2 dotfiles-aa6466dca57b48fc5512c55e26611d11786b2998.zip |
+General keymap for global management
Diffstat (limited to 'doom.d/config.org')
-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 + |