moved color column to filetype specific script

main
mandlm 2019-02-27 18:02:25 +01:00
parent 2c525aeaf7
commit dcffa1e9b4
3 changed files with 7 additions and 3 deletions

3
vim/ftplugin/cpp.vim Normal file
View File

@ -0,0 +1,3 @@
" max line length column
set colorcolumn=100

View File

@ -1,4 +1,5 @@
#!/usr/bin/env sh
ln -svrf vimrc ~/.vimrc
ln -svrf ftplugin ~/.vim/ftplugin

View File

@ -33,15 +33,15 @@ call plug#end()
set tabstop=4
set shiftwidth=4
" autowrite
set autowrite
" dark theme
set background=dark
" line numbers
set number
" max line length column
set colorcolumn=100
" always enable status line
set laststatus=2