refactor(org): Reorganize keybindings and adjust defaults
- Merge org-ql-search under C-c n q prefix
- Replace org heading navigation with paragraph movement on M-{ and M-}
- Add journal and archive to denote signatures
- Increase olivetti width from 80 to 85
This commit is contained in:
@@ -109,13 +109,8 @@
|
|||||||
"d" 'denote
|
"d" 'denote
|
||||||
"r" 'denote-rename-file-date
|
"r" 'denote-rename-file-date
|
||||||
"R" 'denote-rename-file
|
"R" 'denote-rename-file
|
||||||
"m" 'my-denote-open-metanote)
|
"m" 'my-denote-open-metanote
|
||||||
|
"q" 'org-ql-search)
|
||||||
;; q for org-ql
|
|
||||||
(general-def
|
|
||||||
:prefix "C-c q"
|
|
||||||
"s" 'org-ql-search
|
|
||||||
"v" 'org-ql-view)
|
|
||||||
|
|
||||||
;; j for journal
|
;; j for journal
|
||||||
(general-def
|
(general-def
|
||||||
@@ -237,8 +232,8 @@
|
|||||||
"M-g i" 'consult-outline
|
"M-g i" 'consult-outline
|
||||||
"M-g M-i" 'consult-outline
|
"M-g M-i" 'consult-outline
|
||||||
"C-c t l" 'org-toggle-link-display
|
"C-c t l" 'org-toggle-link-display
|
||||||
"M-{" 'org-previous-visible-heading
|
"M-{" 'backward-paragraph
|
||||||
"M-}" 'org-next-visible-heading
|
"M-}" 'forward-paragraph
|
||||||
"C-," 'crux-duplicate-current-line-or-region
|
"C-," 'crux-duplicate-current-line-or-region
|
||||||
"C-c o l" 'denote-link
|
"C-c o l" 'denote-link
|
||||||
"C-c o L" 'denote-org-link-to-heading
|
"C-c o L" 'denote-org-link-to-heading
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
(setq denote-prompts '(title signature keywords))
|
(setq denote-prompts '(title signature keywords))
|
||||||
(setq denote-title-history nil)
|
(setq denote-title-history nil)
|
||||||
(setq denote-signature-history
|
(setq denote-signature-history
|
||||||
'("note" "project" "fun" "wisdom" "article" "data" "metanote" "agenda"))
|
'("note" "project" "fun" "wisdom" "article" "data" "metanote" "agenda" "journal" "archive"))
|
||||||
(setq denote-known-keywords
|
(setq denote-known-keywords
|
||||||
'("emacs")))
|
'("emacs")))
|
||||||
|
|
||||||
|
|||||||
@@ -38,10 +38,8 @@
|
|||||||
:hook
|
:hook
|
||||||
(org-mode . olivetti-mode)
|
(org-mode . olivetti-mode)
|
||||||
(olivetti-mode . (lambda () (display-line-numbers-mode -1)))
|
(olivetti-mode . (lambda () (display-line-numbers-mode -1)))
|
||||||
:custom
|
:init
|
||||||
(olivetti-body-width 80)
|
(setq olivetti-body-width 85))
|
||||||
:config
|
|
||||||
(setq olivetti-body-width 80))
|
|
||||||
|
|
||||||
;; rainbow mode
|
;; rainbow mode
|
||||||
(use-package rainbow-mode)
|
(use-package rainbow-mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user