Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 680 Bytes

vim.md

File metadata and controls

54 lines (45 loc) · 680 Bytes
show line numbers
:set number
forward search for word
  • navigate with n (forward), N (backward)
/word
backward search for word
  • navigate with n (backward), N (forward)
?word
replace word1 with word2 in current line
:s/word1/word2/g
replace word1 with word2 in entire file
:%s/word1/word2/g
jump to opposite closed bracket
%
delete next word
dw
delete current line
dd
delete next 3 symbols
xxx
copy to clipboard

in visual mode

"+y