lang/org: change many org localleader keybinds
- Moves `SPC m s' to `SPC m b' - Adds many new org-clock and org-goto keybinds - Replaces imenu/imenu-anywhere with goto and goto-all - Adds SPC m s -> org-schedule - Move SPC m b -> SPC m , (org-switchb)
This commit is contained in:
parent
9d65619d3e
commit
035a0a50e6
1 changed files with 31 additions and 4 deletions
|
@ -342,24 +342,39 @@ 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
|
||||||
"d" #'org-deadline
|
"d" #'org-deadline
|
||||||
"b" #'org-switchb
|
|
||||||
"f" #'org-footnote-new
|
"f" #'org-footnote-new
|
||||||
"F" #'org-footnote-goto-definition
|
|
||||||
"t" #'org-todo
|
"t" #'org-todo
|
||||||
"T" #'org-todo-list
|
"T" #'org-todo-list
|
||||||
"l" #'org-insert-link
|
"l" #'org-insert-link
|
||||||
"L" #'org-store-link
|
"L" #'org-store-link
|
||||||
"r" #'org-refile
|
"r" #'org-refile
|
||||||
|
"s" #'org-schedule
|
||||||
"'" #'org-edit-special
|
"'" #'org-edit-special
|
||||||
(:prefix ("c" . "clock")
|
(:prefix ("c" . "clock")
|
||||||
"c" #'org-clock-in
|
"c" #'org-clock-in
|
||||||
"C" #'org-clock-out
|
"C" #'org-clock-out
|
||||||
|
"d" #'org-clock-mark-default-task
|
||||||
|
"e" #'org-clock-modify-effort-estimate
|
||||||
|
"l" #'org-clock-in-last
|
||||||
"g" #'org-clock-goto
|
"g" #'org-clock-goto
|
||||||
"G" (λ! (org-clock-goto 'select))
|
"G" (λ! (org-clock-goto 'select))
|
||||||
"x" #'org-clock-cancel)
|
"x" #'org-clock-cancel
|
||||||
|
"=" #'org-clock-timestamps-up
|
||||||
|
"-" #'org-clock-timestamps-down)
|
||||||
(:prefix ("e" . "export")
|
(:prefix ("e" . "export")
|
||||||
:desc "to markdown" "m" #'org-md-export-to-markdown
|
:desc "to markdown" "m" #'org-md-export-to-markdown
|
||||||
:desc "to markdown & open" "M" #'org-md-export-as-markdown
|
:desc "to markdown & open" "M" #'org-md-export-as-markdown
|
||||||
|
@ -369,7 +384,19 @@ between the two."
|
||||||
:desc "to latex" "l" #'org-beamer-export-to-latex
|
:desc "to latex" "l" #'org-beamer-export-to-latex
|
||||||
:desc "to latex & open" "L" #'org-beamer-export-as-latex
|
:desc "to latex & open" "L" #'org-beamer-export-as-latex
|
||||||
:desc "as pdf" "p" #'org-beamer-export-to-pdf))
|
:desc "as pdf" "p" #'org-beamer-export-to-pdf))
|
||||||
(:prefix ("s" . "tables")
|
(:prefix ("g" . "goto")
|
||||||
|
"g" #'org-goto
|
||||||
|
(:when (featurep! :completion ivy)
|
||||||
|
"g" #'counsel-org-goto
|
||||||
|
"G" #'counsel-org-goto-all)
|
||||||
|
"a" #'org-agenda-goto
|
||||||
|
"A" #'org-agenda-clock-goto
|
||||||
|
"c" #'org-clock-goto
|
||||||
|
"C" (λ! (org-clock-goto 'select))
|
||||||
|
"i" #'org-id-goto
|
||||||
|
"r" #'org-refile-goto-last-stored
|
||||||
|
"x" #'org-capture-goto-last-stored)
|
||||||
|
(:prefix ("b" . "tables")
|
||||||
"a" #'org-table-align
|
"a" #'org-table-align
|
||||||
"e" #'org-table-edit-field
|
"e" #'org-table-edit-field
|
||||||
"h" #'org-table-field-info
|
"h" #'org-table-field-info
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue