" Disable Vi-compatibility set nocompatible " Set paths according to XDG Base Directory specification set viminfo+=n${XDG_CACHE_HOME}/vim/viminfo set runtimepath=${XDG_CONFIG_HOME}/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,${XDG_CONFIG_HOME}/vim/after let g:netrw_home = "${XDG_CACHE_HOME}/vim" " Syntax highlighting syntax on " Enable the filetype plugin filetype plugin indent on " LaTeX instead of Plain TeX let g:tex_flavor = "latex" " Status line and numbers set laststatus=2 set number set relativenumber set ruler " Fast redrawing set ttyfast " Splits set splitbelow set splitright " Colors set background=dark " Ignore some additional patterns when opening files set wildignore+=*.o,*.so,*.swp,*/__pycache__/* " Search subdirectories with :find & co set path+=** " Better completion set wildmenu set wildmode=longest:full,full " netrw let g:netrw_banner=0 " let g:netrw_browse_split=4 let g:netrw_altv=1 let g:netrw_liststyle=3 let g:netrw_list_hide=netrw_gitignore#Hide()