[vim ] 巨集SUB後繼續執行?已刪文

看板Editor (編輯器(vim/emacs))作者 (哥)時間3年前 (2020/11/23 07:22), 3年前編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
hi, how are you. 我想要取代後 :s/hi/hello/ge 再執行 IMary, 結果想要 Mary, hello, how are you. 所以我寫成 let @a=":s/hi/hello<Enter>IMary," 結果錯誤E488: Trailing characters 要怎麼串連這兩各動作呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.9.200.102 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Editor/M.1606087332.A.BCC.html ※ 編輯: ggirls (39.9.200.102 臺灣), 11/23/2020 08:52:20 ※ 編輯: ggirls (39.9.200.102 臺灣), 11/23/2020 08:53:43
文章代碼(AID): #1VklAalC (Editor)
文章代碼(AID): #1VklAalC (Editor)