" my basic minimal vimrc for easy installation: " curl https://notes.alv.cx/basic.vimrc > ~/.vimrc set number set relativenumber set lazyredraw set undofile set undodir=~/.undodir set ignorecase nnoremap nnoremap nnoremap nnoremap noremap H ^ noremap L $ noremap ^ H noremap $ L hi Normal ctermbg=None highlight VertSplit cterm=None ctermfg=8 ctermbg=None highlight StatusLine cterm=underline ctermfg=8 ctermbg=None highlight StatusLineNC cterm=underline ctermfg=8 ctermbg=None highlight LineNr ctermfg=8 ctermbg=None highlight LineNrAbove ctermfg=8 ctermbg=None highlight LineNrBelow ctermfg=8 ctermbg=None highlight CursorLineNr ctermfg=8 ctermbg=None highlight FoldColumn ctermfg=8 ctermbg=None highlight SignColumn ctermfg=8 ctermbg=None au VimEnter,WinEnter,BufWinEnter * setlocal cursorline au VimEnter,WinEnter,BufWinEnter * setlocal cursorcolumn au WinLeave,BufLeave,BufWinLeave * setlocal nocursorline au WinLeave,BufLeave,BufWinLeave * setlocal nocursorcolumn autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType yml setlocal ts=2 sts=2 sw=2 expandtab