Switch up some org keybindings
This commit is contained in:
parent
5ef64e76de
commit
b8545658c0
@ -1571,6 +1571,8 @@ A function to add ids to every heading in an Org file:
|
||||
(general-def 'normal org-mode-map "<return>" #'org-return)
|
||||
(general-def 'normal org-mode-map "TAB" #'org-cycle)
|
||||
(general-def 'normal org-mode-map "SPC" leader-map)
|
||||
(general-def '(normal motion visual) org-mode-map "gn" #'org-next-link)
|
||||
(general-def '(normal motion visual) org-mode-map "gp" #'org-previous-link)
|
||||
(general-def org-mode-map "C-c e" #'org-preview-latex-fragment)
|
||||
(general-def "C-c l" #'org-store-link)
|
||||
#+END_SRC
|
||||
@ -1965,7 +1967,8 @@ Quickly find stuff in Org files:
|
||||
"D" #'helm-org-rifle-occur-directories
|
||||
"F" #'helm-org-rifle-occur-files
|
||||
"O" #'helm-org-rifle-occur-org-directory)
|
||||
(leader-def-key "or" helm-org-rifle-commands-map))
|
||||
(leader-def-key "or" helm-org-rifle-commands-map)
|
||||
(jdormit/define-prefix "or" "org-rifle"))
|
||||
#+END_SRC
|
||||
|
||||
* Org Noter
|
||||
@ -2009,6 +2012,8 @@ Quickly find stuff in Org files:
|
||||
(leader-def-key "fo" #'org-roam-find-file)
|
||||
(leader-def-key "of" #'org-roam-find-file)
|
||||
(defvar org-roam-map (make-sparse-keymap))
|
||||
(leader-def-key "on" org-roam-map)
|
||||
(jdormit/define-prefix "on" "org-roam")
|
||||
(which-key-add-key-based-replacements "C-c n" "org-roam")
|
||||
(which-key-add-major-mode-key-based-replacements
|
||||
'org-mode "gn" "org-roam")
|
||||
@ -2027,7 +2032,7 @@ Quickly find stuff in Org files:
|
||||
(org-roam-map "f" #'org-roam-find-file)
|
||||
(org-roam-map "i" #'org-roam-insert)
|
||||
(org-roam-map "g" #'org-roam-show-graph)
|
||||
((normal motion visual) org-mode-map "gn" org-roam-map)
|
||||
((normal motion visual) org-mode-map "gr" org-roam-map)
|
||||
("C-c n" org-roam-map))
|
||||
#+END_SRC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user