7 years ago
Maps Ctrl-J to insert line break (like the opposite of J)
:nnoremap <NL> i<CR><ESC>
Martin Toma 7 years ago
Hi, good idea. What are your suggestions to map it to? I was wondering about something simple as the opposite J is. But didnt find anything.
Mattia Tezzele 7 years ago
You got it mapped already.
<NL> generates the same character code as Ctrl-J, so that's the combination you are looking for.
I'll update the description.