VimMAC + LINUX + VIM + GIT + Latex + Markdown上古神器Vim

vim: find + replace

2017-03-15  本文已影响25人  早起祷告的猴子

find + replace

  • :g/pattern/s//new/gc

g stands for global, c stands for confirmation

one-by-one search

  1. :/pattern
  1. hit "n" to forward, "N" to backward

global serach

:g/pattern

上一篇 下一篇

猜你喜欢

热点阅读