Skip to content

Commit

Permalink
Make the "hi ColorColumn" directive an autocommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelkins committed Nov 30, 2011
1 parent 5456c81 commit 2eb4dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ if $TERM =~# 'screen\|xterm'
endif

syntax on
autocmd ColorScheme * hi ColorColumn ctermbg=234 guibg=#3B3A32
colorscheme vividchalk
set nocompatible

Expand Down Expand Up @@ -64,7 +65,6 @@ set wrap
set textwidth=79
set formatoptions=qrn1
set colorcolumn=+1
hi ColorColumn ctermbg=234 guibg=#3B3A32

nnoremap <leader>ev <C-w><C-v><C-l>:e $MYVIMRC<cr>
nnoremap <leader>w <C-w>v<C-w>l
Expand Down

0 comments on commit 2eb4dd5

Please sign in to comment.