From 4e8f810e3e63b801728a6c7dd441a83bb7d582c2 Mon Sep 17 00:00:00 2001 From: Raphael McSinyx Date: Mon, 6 Mar 2017 20:27:39 +0700 Subject: Update 20170306 --- vim/.vim/vimrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vim/.vim/vimrc') 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 -- cgit 1.4.1