[vim ] 可否直接跳到同一欄的下一行繼續輸入

看板Editor作者時間3年前 (2020/08/18 16:49), 3年前編輯推噓3(301)
留言4則, 4人參與, 3年前最新討論串1/1
<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

08/19 00:49, 3年前 , 1F
輸入primary 後按 CTRL-G j
08/19 00:49, 1F

08/19 10:42, 3年前 , 2F
成功了!謝謝 akria !!
08/19 10:42, 2F

08/19 22:50, 3年前 , 3F
謝謝1樓,學習了
08/19 22:50, 3F

08/20 22:02, 3年前 , 4F
感謝 1 樓,學習了
08/20 22:02, 4F
文章代碼(AID): #1VEvOIR5 (Editor)