Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?