set nocompatible set undodir=~/.cache/vim/undo set directory=~/.cache/vim/swap set backupdir=~/.cache/vim/backup set viminfo+=n~/.cache/vim/viminfo set clipboard=exclude:cons\|linux autochdir set showcmd noshowmode ruler wildmenu confirm set nostartofline set list listchars+=tab:├─ set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab set dictionary=/usr/share/dict/words set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 set omnifunc=syntaxcomplete#Complete autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd FileType c,h,go setlocal cindent noexpandtab shiftwidth=8 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType css,javascript,python setlocal shiftwidth=4 autocmd FileType python,tex setlocal indentexpr= let g:jedi#popup_on_dot = 0 let g:jedi#popup_select_first = 0 let g:jedi#show_call_signatures = 2 let g:jedi#smart_auto_mappings = 0 let g:vimtex_indent_enabled = 0 command W w map Q gq call plug#begin('~/.vim/plugged') Plug 'https://github.com/morhetz/gruvbox.git' Plug 'https://github.com/tpope/vim-abolish.git' Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} call plug#end()