Go to the first non-blank character in Vim
In Vim, press Shift+6 on Mac, Windows, Linux. Works when: normal mode.
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlWinAltAltWinMenuCtrl←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
See it happen Press the shortcut above, or
More Vim shortcuts: moving
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Move left | H | H | H |
| Move down | J | J | J |
| Move up | K | K | K |
| Move right | L | L | L |
| Jump to the start of the next word | W | W | W |
| Jump back to the start of the word | B | B | B |
| Jump to the end of the word | E | E | E |
| Go to the start of the line | 0 | 0 | 0 |
| Go to the end of the line | Shift4 | Shift4 | Shift4 |
| Go to the first line | G,G | G,G | G,G |