VIM-Search-TIPS
Search and replace globally
:%s/search-string/replace-string/g
Search and replace within a range of particular row and column
:1,4 /\%1cYYY/ZZZ/g
Search using case sensitive string
/abCdEf\C "Case sensitive/abCdEf\c "Case insensitive
Search and replace interactively
:%s/search-string/replace-string/gc
Comments
Post a Comment