diff options
author | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2017-03-06 20:27:39 +0700 |
---|---|---|
committer | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2017-03-06 20:27:39 +0700 |
commit | 4e8f810e3e63b801728a6c7dd441a83bb7d582c2 (patch) | |
tree | e86b210652e7fadfe2682677e9985a631e44bfe9 /vim/.vim/vimrc | |
parent | 18ff4bcb029e49ef9ee1e41c8bafb8ca880c2d42 (diff) | |
download | dotfiles-4e8f810e3e63b801728a6c7dd441a83bb7d582c2.tar.gz |
Update 20170306
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-x | vim/.vim/vimrc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index a8e8239..1effa97 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -17,14 +17,13 @@ if has("patch-7.4.710") && has("gui_running") else set listchars+=tab:├─ endif -set tabstop=8 expandtab shiftwidth=4 softtabstop=4 smarttab +set tabstop=8 expandtab shiftwidth=2 softtabstop=2 smarttab set omnifunc=syntaxcomplete#Complete set dictionary=/usr/share/dict/words set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal -autocmd FileType vim,pascal,lua,html,rst setlocal shiftwidth=2 tabstop=2 autocmd FileType c,h,cpp,arduino setlocal noexpandtab shiftwidth=8 tabstop=8 -autocmd FileType markdown setlocal textwidth=79 +autocmd FileType markdown,python setlocal shiftwidth=2 tabstop=2 autocmd FileType python syntax keyword pythonBoolean False True None autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) map Q gq |