~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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user