From 54551f412bafc435ea23733706ecbe4a11d70e68 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 15 Apr 2020 04:36:30 +0100 Subject: ~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 --- doom.d/org/config.org | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doom.d') 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 -- cgit v1.2.3-13-gbd6f