1
I'd like to use enter to escape insert mode, and use Shift+Enter to insert a new line instead.
The problem is my terminal emulator (Konsole running under Lubuntu) doesn't capture Shift+Enter (nor Ctrl-Enter). Any idea how I might overcome this. Am willing to change terminal emulator if it supports 24-bit colour and can scroll smoothly in NeoVim.
Relevant .vimrc
map <CR> <Esc>
map <S-CR> <CR>
For one, Vim refers to <CR> when mapping commands as <Enter> (at least in nvim-features-new).
I tested <S-CR> and <C-CR> in neovim in urxvt and they are not considered different from <CR>. – Yet Another User – 2015-08-31T04:31:38.330
Ctrl-Enter I can get to work in LXTerminal like this: imap <Enter> <Esc> inoremap <C-Enter> <Esc>
Shift-Enter, however, does not work. – miyalys – 2015-09-20T16:05:13.720