作者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://www.ptt.cc/bbs/Editor/M.1597740562.A.6C5.html
※ 編輯: cclalaso (36.228.85.216 臺灣), 08/18/2020 16:50:17
推 akria: 輸入primary 後按 CTRL-G j 08/19 00:49
→ cclalaso: 成功了!謝謝 akria !! 08/19 10:42
推 goldie: 謝謝1樓,學習了 08/19 22:50
推 dododavid006: 感謝 1 樓,學習了 08/20 22:02