From a295db54fbe539abda4542195fa3b5781d13806d Mon Sep 17 00:00:00 2001 From: Raphael McSinyx Date: Thu, 9 Feb 2017 10:34:15 +0700 Subject: Update 20170209. Highlights: awesome 4.0, gruvbox dark -> light --- 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 8a3a409..a8e8239 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -6,14 +6,13 @@ set directory=~/.cache/vim/swap set backupdir=~/.cache/vim/backup set viminfo+=n~/.cache/vim/viminfo set clipboard=exclude:cons\|linux -set hidden set wildmenu set showcmd set nostartofline set ruler set confirm set list -if has("patch-7.4.710") +if has("patch-7.4.710") && has("gui_running") set listchars+=space:·,tab:\ \ else set listchars+=tab:├─ @@ -23,7 +22,7 @@ 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,html setlocal shiftwidth=2 tabstop=2 +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 python syntax keyword pythonBoolean False True None -- cgit 1.4.1