How to duplicate a whole line in Vim?

后端 未结 19 1005
北海茫月
北海茫月 2020-12-22 14:29

How do I duplicate a whole line in Vim in a similar way to Ctrl+D in IntelliJ IDEA/ Resharper or Ctrl+Alt+&

19条回答
  •  [愿得一人]
    2020-12-22 14:52

    You can also try which will repeat the last line from insert mode and brings you a completion window with all of the lines. It works almost like

提交回复
热议问题