3

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>
drzel
  • 31
  • 2
  • For one, Vim refers to when mapping commands as (at least in nvim-features-new). I tested and in neovim in urxvt and they are not considered different from . – Yet Another User Aug 31 '15 at 04:31
  • Ctrl-Enter I can get to work in LXTerminal like this: imap inoremap Shift-Enter, however, does not work. – miyalys Sep 20 '15 at 16:05

0 Answers0