moved color column to filetype specific script
This commit is contained in:
parent
2c525aeaf7
commit
dcffa1e9b4
3 changed files with 7 additions and 3 deletions
3
vim/ftplugin/cpp.vim
Normal file
3
vim/ftplugin/cpp.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
" max line length column
|
||||
set colorcolumn=100
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
ln -svrf vimrc ~/.vimrc
|
||||
ln -svrf ftplugin ~/.vim/ftplugin
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue