How to save a Vim macro that contains “Escape” key presses?

前端 未结 7 1427
迷失自我
迷失自我 2020-12-14 07:43

I use the following Vim macro a lot (it puts the current line inside XML tags):

I^[A

So I saved it into my .vimrc

相关标签:
7条回答
  • 2020-12-14 08:33

    If you're using Windows behavior for vim where Ctrl+V is the Paste command, the equivalent sequence is Ctrl+Q

    0 讨论(0)
提交回复
热议问题