Personal Vim Commands and Cheatsheet
Search in a project by contents
Control + f
. Opens ripgrep.
Search for a project by file name
Control + p
. Opens FZF.
/term_to_searchfor
Find and replace inside all in file
%s/thing_to_find/thing_to_replace_with/g
Find and replace inside project
:bufdo %s/pattern/replace/ge | update
Select and copy text by lines
V y
Select and copy text by words
v y
Select and copy text, paste below
Select text then
y'>p
Select all text and send to clipboard
%y+
P
p
i
Enter insert mode after cursor
a
{"python.pythonPath" "/home/david/miniconda3/envs/threeeight/bin/python"}
b