Useful keyboard shortcuts
11 May 2021 | server vimThis post provides useful keyboard shotcuts.
bash
Moving the cursor
Ctrl
+a
: Go to the beginning of the lineCtrl
+e
: Go to the end of the lineAlt
+b
: Back (left) one wordAlt
+f
: Forward (right) one wordCtrl
+b
: Backward one characterCtrl
+f
: Forward one character
vim
Navigation
k
: Move cursor upwardsj
: Move cursor downwardsl
: Move cursor right side-
h
: Move cursor left side w
: Jump forwards to the start of a worde
: Jump forwards to the end of a word-
b
: Jump backwards to the start of a word 0
: Jump to the start of the line^
: Jump to the first non-blank character of the line$
: Jump to the end of the line
Comments