From 47211ea89d55225447797fc6fb576fcb14577608 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philippe=20H=C3=BCrlimann?= Date: Mon, 19 Dec 2016 23:28:14 +0100 Subject: [PATCH] set colorcolumn for all filetypes --- ftplugin/python.vim | 2 -- vimrc | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.51.2