aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-11-01 02:30:36 +0000
committeroreodave <aryadevchavali1@gmail.com>2019-11-01 02:30:36 +0000
commitc48bd66136481594134853fe22c941d20ecd0edd (patch)
treee9b981b993de2d8d084c1155b70106e3b63c0b20
parent4cb119358b8c2c4d2cb162ebca42f425d7277940 (diff)
downloaddotfiles-c48bd66136481594134853fe22c941d20ecd0edd.tar.gz
dotfiles-c48bd66136481594134853fe22c941d20ecd0edd.tar.bz2
dotfiles-c48bd66136481594134853fe22c941d20ecd0edd.zip
~books binding in general keymap
-rw-r--r--doom.d/config.org8
1 files changed, 1 insertions, 7 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index 53275b9..17b0741 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -32,6 +32,7 @@ become my C one soon!
:desc "Indent" "j" 'indent-region
:desc "Reload emacs" "r" 'oreodave/reload
:desc "Compile via make" "cC" '+make/run
+ :desc "Open books" "B" '(lambda () (interactive) (dired "~/Text/Books"))
; Redefine <SPC><SPC> as M-x rather than find-file because of my muscle memory with spacemacs
; General maps like <SPC>j for indenting because I don't know what else to bind them to
; <SPC>pf => project -> find file
@@ -309,13 +310,6 @@ in Doom, so I need this binding
:desc "Format code universally" "=" 'format-all-buffer)
)
#+END_SRC
-*** Books
-#+BEGIN_SRC elisp
-(map!
- :leader
- :desc "Open folder" "B" '(lambda () (interactive) (dired "~/Text/Books"))
- )
-#+END_SRC
*** Download Items
#+BEGIN_SRC elisp
(defun oreodave/request-json-fn (url)