about summary refs log tree commit diff
path: root/vim/.vim/vimrc
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2017-11-28 21:33:11 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2017-11-28 21:33:11 +0700
commitda4fa768d04f9d136c7b3ea0cabd240333164bdf (patch)
treea2680b7203296da13dd325e7bf8bd6d723b454ad /vim/.vim/vimrc
parent92fec3297bc3539046d7bced28b095b3c34c5aa9 (diff)
downloaddotfiles-da4fa768d04f9d136c7b3ea0cabd240333164bdf.tar.gz
Update 2017-11-28
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-xvim/.vim/vimrc16
1 files changed, 12 insertions, 4 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 8b61c9a..8a1e299 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -1,5 +1,3 @@
-filetype plugin indent on
-syntax enable
 set nocompatible
 set undodir=~/.cache/vim/undo
 set directory=~/.cache/vim/swap
@@ -13,9 +11,19 @@ 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 setlocal shiftwidth=4
-autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1)
+autocmd FileType css,javascript,python setlocal shiftwidth=4
+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
 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'}
+call plug#end()