aboutsummaryrefslogtreecommitdiff
path: root/doom.d/org
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-04-15 04:36:30 +0100
committerdx <aryadevchavali1@gmail.com>2020-04-15 04:36:30 +0100
commit54551f412bafc435ea23733706ecbe4a11d70e68 (patch)
treef181faa03e0cffb7c5629df2096a95002949eb4e /doom.d/org
parenteeb5ad48ae9e24d18bd76ec13a823c705c4133ca (diff)
downloaddotfiles-54551f412bafc435ea23733706ecbe4a11d70e68.tar.gz
dotfiles-54551f412bafc435ea23733706ecbe4a11d70e68.tar.bz2
dotfiles-54551f412bafc435ea23733706ecbe4a11d70e68.zip
~categorized misc into leader and nonleader
This is because I want to add binds for section browsing in the 'g' normal motion prefix. This is misc but not a leader bind, so I made it a specific item
Diffstat (limited to 'doom.d/org')
-rw-r--r--doom.d/org/config.org11
1 files changed, 10 insertions, 1 deletions
diff --git a/doom.d/org/config.org b/doom.d/org/config.org
index 38df731..b06d36a 100644
--- a/doom.d/org/config.org
+++ b/doom.d/org/config.org
@@ -514,7 +514,8 @@ General keymap for leader
:desc "Switch frames" "o" #'other-frame)
#+END_SRC
** Other
-- Miscellaneous bindings that don't really fit into any particular item
+*** Leader
+- Miscellaneous leader bindings that don't really fit into any particular item
#+BEGIN_SRC elisp
(map!
:leader
@@ -529,3 +530,11 @@ General keymap for leader
(:prefix ("n" . "notes")
:desc "Open notes in dired" "-" #'(lambda () (interactive) (dired org-directory))))
#+END_SRC
+*** Non-leader
+#+BEGIN_SRC elisp
+(map!
+ :n "gk" #'evil-backward-section-begin
+ :n "gK" #'evil-backward-section-end
+ :n "gj" #'evil-forward-section-begin
+ :n "gJ" #'evil-forward-section-end)
+#+END_SRC