Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 280 Bytes

vi_tips.md

File metadata and controls

7 lines (5 loc) · 280 Bytes
	O: insert oneline above current cursor

	daw : delete the word under the cursor    
	caw : delete the word under the cursor and put you in insert mode
	v+moveup/movedown+d: delete block

	%s/foo/bar/g:Find each occurrence of 'foo' (in all lines), and replace it with 'bar'.