Virtual Mode Insert Word on Vim

References: http://stackoverflow.com/questions/253380/how-do-i-insert-text-at-beginning-of-a-multi-line-selection-in-vi-vim
 

  • 進入Visual Block mode (CTRL-v)
  • 選擇你要的區塊(移動 上/下 用 j/k, 或是要跳到指定的行用 [line]G)
  • 按大寫的 I ( 不是小寫的i )
  • 輸入你要的文字
  • 輸入完記的按 ESC

留言

熱門文章