From: ds6 Date: Tue, 9 Jan 2018 16:14:23 +0000 (-0600) Subject: vimrc: colorcolumn made dark, syntax changes X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/ddcfe43c76b5d3cf26a99e8df218e7ea3f14efdb?ds=sidebyside;hp=64fa2e87d69b7fd57ee877e442cf51aca1997a0e vimrc: colorcolumn made dark, syntax changes --- diff --git a/base/.vimrc b/base/.vimrc index 7e81fe3..7469238 100644 --- a/base/.vimrc +++ b/base/.vimrc @@ -12,20 +12,23 @@ set undodir=$HOME/tmp/vim// set autoindent set colorcolumn=80 +highlight ColorColumn term=NONE ctermbg=0 autocmd FileType python setlocal tabstop=4 shiftwidth=4 expandtab autocmd FileType markdown setlocal tabstop=4 shiftwidth=4 expandtab autocmd FileType javascript setlocal tabstop=2 shiftwidth=2 expandtab autocmd FileType json setlocal tabstop=2 shiftwidth=2 expandtab autocmd FileType html setlocal tabstop=2 shiftwidth=2 expandtab +autocmd FileType todo setlocal colorcolumn=0 set cursorline set hlsearch -nnoremap :noh set list set listchars=tab:├─,extends:»,precedes:«,space:·,trail:∙,nbsp:■ set number set relativenumber -autocmd InsertEnter * :set norelativenumber -autocmd InsertLeave * :set relativenumber -autocmd FocusLost * :set norelativenumber -autocmd FocusGained * :set relativenumber +autocmd InsertEnter * setlocal norelativenumber +autocmd InsertLeave * setlocal relativenumber +autocmd FocusLost * setlocal norelativenumber +autocmd FocusGained * setlocal relativenumber + +" vim:sts=4:sw=4:et:tw=79