mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Rebind RET rather than remapping newline
The remapping was global, preventing its use in insert mode anywhere. Binding to RET is less destructive.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
:nmvo doom-localleader-key nil
|
||||
|
||||
;; Swap RET/C-j in insert mode
|
||||
:i [remap newline] #'newline-and-indent
|
||||
:gi "RET" #'newline-and-indent
|
||||
:i "C-j" #'+default/newline
|
||||
|
||||
;; --- Global keybindings ---------------------------
|
||||
|
Reference in New Issue
Block a user