From: Philippe Hürlimann Date: Mon, 19 Dec 2016 22:28:14 +0000 (+0100) Subject: set colorcolumn for all filetypes X-Git-Url: https://git.hurlimann.org/?a=commitdiff_plain;h=47211ea89d55225447797fc6fb576fcb14577608;p=vimfiles.git set colorcolumn for all filetypes --- diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 6c0572e..165c7cb 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -1,6 +1,4 @@ let g:syntastic_python_checker = 'flake8' -set colorcolumn=80 -highlight ColorColumn ctermbg=red nnoremap r :!python2 ./manage.py runserver nnoremap f :call Flake8() diff --git a/vimrc b/vimrc index 507b4f8..2b926d0 100644 --- a/vimrc +++ b/vimrc @@ -95,4 +95,7 @@ nnoremap :%s/\C\<\>/ command Vr tabedit ~/.vim/vimrc command Vt execute "tabedit ~/.vim/ftplugin/" . &filetype . ".vim" +set colorcolumn=80 +highlight ColorColumn ctermbg=red + let g:ctrlp_working_path_mode = 0