, ~/.vimrc:
vnoremap < <gv
vnoremap > >gv
, ( v), > <, .
vim , :
set autoindent
set smartindent
, , .
You can enable / disable the insert mode using the key displayed as follows:
set pastetoggle=<F6>
It F6will now switch in insert mode so that you can paste text without automatic recharge.
source
share