User Tools

Site Tools


linux:vi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:vi [2020/11/26 00:27] Wufflinux:vi [2021/08/31 00:46] (current) Wuff
Line 65: Line 65:
 gg"*yG gg"*yG
 :%y+ :%y+
 +
 +===== Search & Replace =====
 +
 +<code>
 +:%s/bla/blubs/
 +</code>
 +
 +Complex replace with reference:
 +<code>
 +:%s/rtrim(\(.*\),"0")/zerotrim(\1)/
 +</code>
 +
 +to repeat, press ":", then the cursor up
  
linux/vi.1606350438.txt.gz · Last modified: (external edit)