我希望使用类似 Shift + Enter 的方式在 Vim 中创建新行。
所以如果
所以如果
|
是光标,我想要做的是:<%= some.code("in here") | %>
现在,按下 Shift + Enter(或类似的组合键), 并获得以下输出:
<%= some.code("in here") %>
and my new line here |
这是否可能?
|
所在的位置,还是只是打开一个新行并保持当前自动缩进级别? - Michael Berkowskiimap <leader>n <ESC>o
。 - newkedison