Today I Learned (2020-05-29)

Setup vim

Vim for python applicatons

search and replace
:%s/foo/bar/g - replace all
:%s/foo/bar/gc - replace with confirmation

select and copy
v - select text by chars
V - select text by lines
y - to copy text
p - to paste copied text

copy to clipboard
in visual mode select the text
"+y - copy to clipboard

undo/redo in normal mode
u - undo
Ctr+r - redo

<< Prev | Next >>