0

I wanted to map shift+Enter to make another line in the insert mode. Because enter will split the original line when the cursor is in the middle of the line. But it doesn't work like I expected. What am I missing? is there a problem to mapping shift key usually in .vimrc file?

# ~/.vimrc

" map for making a new line in the insert mode.
inoremap <S-CR> <esc>o
Jeongbin Kim
  • 161
  • 1
  • 11
  • pls search before ask. another related question (and answer) : http://stackoverflow.com/questions/16359878/vim-how-to-map-shift-enter – Kent May 13 '15 at 07:02
  • Oh it is my fault that I didn't fully search it. Thank you for the links! – Jeongbin Kim May 13 '15 at 07:12

0 Answers0