Prerequisitesđź”—
Navigationđź”—
Finding Filesđź”—
vscode - cmd
+ p
neovim - /
Scrollingđź”—
vscode - mouse lol neovim:
ctrl
+u
/d
j
/k
Start end of a lineđź”—
vscode - n/a neovim:
shift
+%
/^
- or just toggle
shift
+%
(easier)
Goto definitionđź”—
vscode - f12
neovim - gd
Back / Forwardđź”—
vscode - ui back/ forward buttons
neovim - ctrl
+ o
, ctrl
+ i
Save fileđź”—
vscode - cmd
+ s
neovim - :w
Close fileđź”—
vscode - cmd
+ w
neovim - :bd
(buffer delete)
Seach Fileđź”—
vscode - double-tap word to select all , cmd
+ f
neovim - viw
(visual innner word) , y
(yank) , /
, cmd
+ v
(use n
and N
to navigate between matches)
Seach Codebaseđź”—
vscode - cmd
+ f
neovim - viw
(visual innner word), space
, /
, cmd
+ v
Selecting blocks of textđź”—
vscode - mouse lol neovim:
cw
- change word- selecting text inside something -
vi
+<surrouding-character>
(e.g(
,{
) - selecting text including wrapper chracter -
va
+<surrouding-character>
(e.g(
,{
) - select all text with same indentation -
vii
- select word cursor is on -
viw
- select all text with same including surrouding whitespace -
vai
(copy whole functions block)
Refactoringđź”—
Multicursor editingđź”—
vscode - cmd
+ opt
+ shift
+up
/down
Moving lines up and downđź”—
vscode - opt
+up
/down
neovim -
Surround a text block with somethingđź”—
vscode - select text with mouse and {
etc
neovim - select tes
Change symbolđź”—
vscode - f12
neovim -
Copy a whole lineđź”—
vscode - mouse lol
neovim - yy
Commenting blocks of codeđź”—
vscode - cmd
+ /
neovim - gc
or ctrl
+ .
Undo/ Redođź”—
vscode - ctrl
+ z
/ ctrl
+ cmd
+z
neovim - u
/ ctrl
+ r
Terminalđź”—
Open terminalđź”—
cmd
+ j
Gitđź”—
vscode - built in source control panel
neovim: lazgit?
Nxđź”—
vscode - Nx extension
neovim:
Endpoint testingđź”—
vscode - Thunder client extension
neovim: