Tag: vim

Cari dan Ubah di Vim

Berfungsi pada mode command (:),

:s/foo/bar/g
:%s/foo/bar/g
:%s/foo/bar/gc
:%s/\<foo\>/bar/gc
:%s/foo/bar/gci
:%s/foo/bar/gcI

semoga menginspirasi dan bermanfaat.

Iklan