Some vim config
~/.vimrc
, $home\_vimrc
set t_Co=256
set background=dark
set termguicolors
colorscheme torte
syntax on
set hlsearch
set cursorline
set number ruler
highlight CursorLine ctermbg=52
set relativenumber
noremap <A-@> :set relativenumber!<cr>
" indenting
set autoindent smartindent
set tabstop=2 softtabstop=2 shiftwidth=2
set expandtab
" misc
set clipboard^=unnamed,unnamedplus
set lazyredraw
Commands
Indent five lines:
5>>
. Indent a curly-braces block: put cursor on one of the curly braces,>%
; from anywhere inside the block:>iB
. (src)