I have re-assigned the RETURN key to exit the insert state in Evil mode.
(define-key evil-insert-state-map [return] 'evil-normal-state)
But this does't work with emacs -nw
in terminal. Any way to make it work?
I have re-assigned the RETURN key to exit the insert state in Evil mode.
(define-key evil-insert-state-map [return] 'evil-normal-state)
But this does't work with emacs -nw
in terminal. Any way to make it work?