lang/org: add SPC m . and / keybinds for org-goto
And remove imenu remaps, they weren't behaving correctly.
This commit is contained in:
parent
035a0a50e6
commit
d947e15472
1 changed files with 7 additions and 10 deletions
|
@ -342,19 +342,16 @@ between the two."
|
||||||
"C-c C-i" #'org-toggle-inline-images
|
"C-c C-i" #'org-toggle-inline-images
|
||||||
[remap doom/backward-to-bol-or-indent] #'org-beginning-of-line
|
[remap doom/backward-to-bol-or-indent] #'org-beginning-of-line
|
||||||
[remap doom/forward-to-last-non-comment-or-eol] #'org-end-of-line
|
[remap doom/forward-to-last-non-comment-or-eol] #'org-end-of-line
|
||||||
[remap imenu]
|
|
||||||
(cond ((featurep! :completion ivy)
|
|
||||||
#'counsel-org-goto)
|
|
||||||
((featurep! :completion helm)
|
|
||||||
#'helm-org-in-buffer-headings))
|
|
||||||
[remap imenu-anywhere]
|
|
||||||
(cond ((featurep! :completion ivy)
|
|
||||||
#'counsel-org-goto-all)
|
|
||||||
((featurep! :completion helm)
|
|
||||||
#'helm-org-agenda-files-headings))
|
|
||||||
|
|
||||||
:localleader
|
:localleader
|
||||||
"," #'org-switchb
|
"," #'org-switchb
|
||||||
|
"." #'org-goto
|
||||||
|
(:when (featurep! :completion ivy)
|
||||||
|
"." #'counsel-org-goto
|
||||||
|
"/" #'counsel-org-goto-all)
|
||||||
|
(:when (featurep! :completion helm)
|
||||||
|
"." #'helm-org-in-buffer-headings
|
||||||
|
"/" #'helm-org-agenda-files-headings)
|
||||||
"d" #'org-deadline
|
"d" #'org-deadline
|
||||||
"f" #'org-footnote-new
|
"f" #'org-footnote-new
|
||||||
"t" #'org-todo
|
"t" #'org-todo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue