Vim TIL

From OnnoWiki
Revision as of 13:50, 31 May 2016 by Gibransyah (talk | contribs) (New page: = Vim Today I Learned = * visual replace :s/\%Vus/az/g * vim repeat last command press . * vim search/replace under cursor press * under keywords, switch to commandmode :%s//r...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vim Today I Learned

  • visual replace
 :s/\%Vus/az/g
  • vim repeat last command
 press . 
  • vim search/replace under cursor
 press * under keywords, switch to commandmode
 :%s//replace/g
 blank will filled with latest search