Copy the .vimrc
into the $HOME
directory and restart vim
application.
- Select lines
V
->number
->j/k
, e.g.V4j
- Jump back to previous edit location
- double backticks, i.e. ``
- Jump to the matching parenthesis
%
- Jump to the parenthesis from within a block
[{
/]}
, to opening / closing curly bracket[(
/])
, to opening / closing parenthesis
- Switch letter cases
- select letters with
v
bindings gU
to upper casegu
to lower caseg~
toggle case
- select letters with
- Window controls
ctrl + ww
cycle through all opened windowsctrl + w[h|j|k|l]
switch to left/down/up/right windowctrl + wv
open current file to a vertically split window
- Tab controls
gt
cycle through tabsgT
reversely cycle through tabsN gt
go to Nth tab, e.g.1gt
go to first tab