diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2019-03-26 22:34:20 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2019-03-26 22:34:20 +0700 |
commit | 99f6a9203fce6794d335577754c8223d477a6a3d (patch) | |
tree | be8c76d63246dee7dc6156f9d15d46e15287c0a1 /vim | |
parent | 90848e777c435328acf4b81773d8d7684bfcf21f (diff) | |
download | dotfiles-99f6a9203fce6794d335577754c8223d477a6a3d.tar.gz |
Update 2019-03-26
Diffstat (limited to 'vim')
-rwxr-xr-x | vim/.vim/gvimrc | 7 | ||||
-rwxr-xr-x | vim/.vim/vimrc | 13 |
2 files changed, 11 insertions, 9 deletions
diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc index 3f43115..cdefc17 100755 --- a/vim/.vim/gvimrc +++ b/vim/.vim/gvimrc @@ -1,12 +1,5 @@ runtime ftplugin/man.vim nmap K :Man <cword><CR> -set number relativenumber lazyredraw set guifont=Latin\ Modern\ Mono\ 12 set guioptions=Pc set guicursor+=a:blinkon0 -if has("patch-7.4.710") - set listchars+=space:·,tab:\ \ -endif -set background=dark -colorscheme gruvbox -autocmd FileType python syntax keyword pythonBoolean False True None diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index b0329de..40c00db 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -4,9 +4,11 @@ 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 showcmd noshowmode ruler wildmenu confirm number relativenumber set nostartofline -set list listchars+=tab:├─ +if has("patch-7.4.710") + set list listchars+=space:·,tab:\ \ +endif set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab set dictionary=/usr/share/dict/words set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 @@ -17,6 +19,8 @@ autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd FileType c,h,go setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType css,javascript,python,perl6 setlocal shiftwidth=4 +autocmd FileType python syntax keyword pythonBoolean False True None +let g:gruvbox_italic=1 let g:jedi#popup_on_dot = 0 let g:jedi#popup_select_first = 0 let g:jedi#show_call_signatures = 2 @@ -27,6 +31,11 @@ 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/drmikehenry/vim-fontsize.git' Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} call plug#end() + +set t_Co=256 +set background=dark +colorscheme gruvbox |