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/gvimrc | 4 ++-- vim/.vim/pack/abolish/start/vim-abolish | 1 + vim/.vim/vimrc | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 160000 vim/.vim/pack/abolish/start/vim-abolish (limited to 'vim') diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc index e73b2b0..4990d1f 100755 --- a/vim/.vim/gvimrc +++ b/vim/.vim/gvimrc @@ -1,6 +1,6 @@ set number relativenumber lazyredraw -set guifont=Droid\ Sans\ Mono\ Dotted\ 11 +set guifont=Space\ Mono\ 10 set guioptions=Pc set guicursor+=a:blinkon0 -set background=dark +set background=light colorscheme gruvbox diff --git a/vim/.vim/pack/abolish/start/vim-abolish b/vim/.vim/pack/abolish/start/vim-abolish new file mode 160000 index 0000000..05c7d31 --- /dev/null +++ b/vim/.vim/pack/abolish/start/vim-abolish @@ -0,0 +1 @@ +Subproject commit 05c7d31f6b3066582017edf5198502a94f6a7cb5 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