作者cclalaso ()
看板Editor
标题[vim ] 可否直接跳到同一栏的下一行继续输入
时间Tue Aug 18 16:49:20 2020
<button class="btn btn-" type="...
<button class="btn btn-" type="...
<button class="btn btn-" type="...
要在每一行的 btn- 後面插入不同文字
<button class="btn btn-primary" type="...
<button class="btn btn-secondary" type="...
<button class="btn btn-info" type="...
请问上述过程中,有没有办法以insert mode在第一行的 btn- 输入primary 後
直接跳到第二行的 btn- 继续输入secondary?
因为 Ctrl+v I 似乎只能让每行变成相同的文字
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.228.85.216 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Editor/M.1597740562.A.6C5.html
※ 编辑: cclalaso (36.228.85.216 台湾), 08/18/2020 16:50:17
1F:推 akria: 输入primary 後按 CTRL-G j 08/19 00:49
2F:→ cclalaso: 成功了!谢谢 akria !! 08/19 10:42
3F:推 goldie: 谢谢1楼,学习了 08/19 22:50
4F:推 dododavid006: 感谢 1 楼,学习了 08/20 22:02