mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: bind dwim-at-point to RET instead #1218
[return] is treated as a different key (with higher precedence in GUI Emacs), which means it overwrites RET behaviors bound elsewhere, like in config/default or minor mode maps (like evil-multiedit's).
This commit is contained in:
@ -374,8 +374,8 @@ between the two."
|
||||
:ni "C-S-k" #'org-metaup
|
||||
:ni "C-S-j" #'org-metadown
|
||||
;; more intuitive RET keybinds
|
||||
:i [return] #'org-return-indent
|
||||
:n [return] #'+org/dwim-at-point
|
||||
:i "RET" #'org-return-indent
|
||||
:n "RET" #'+org/dwim-at-point
|
||||
;; more vim-esque org motion keys (not covered by evil-org-mode)
|
||||
:m "]]" (λ! (org-forward-heading-same-level nil) (org-beginning-of-line))
|
||||
:m "[[" (λ! (org-backward-heading-same-level nil) (org-beginning-of-line))
|
||||
|
Reference in New Issue
Block a user