Insert a newline without entering in insert mode, vim

后端 未结 7 793
广开言路
广开言路 2021-01-31 13:24

I want insert newlines in normal mode in vim using Shift-Enter and Ctrl-Enter. I try some solutions and mixing solutions from Vim Wikia - Insert newline wi

7条回答
  •  不思量自难忘°
    2021-01-31 14:08

    This is what I use:

    nmap  :a.
    

    I tried nmap o, but it made UI glitchy as it was switching to insert mode and back.

提交回复
热议问题