[vim][Linux] How to find and replace by using vim
:%s/awesome/wonderful/gc
replace with wonderful (y/n/a/q/l/^E/^Y)?
If string is /var/tmp/ and want to change like /var/tmp/media/.
The command like below.
%s/\/var\/tmp/\/var\/tmp\/media/gc
Reference :
0 意見:
張貼留言