Update vimrc for legibility, add visual column-width indication.

This commit is contained in:
Jeff Geerling
2014-07-17 13:35:27 -05:00
parent e1e4018e97
commit d01fbd35d8
+5 -1
View File
@@ -5,7 +5,7 @@ set cursorline " highlight the current line
set nobackup " don't create pointless backup files; Use VCS instead
set autoread " watch for file changes
set number " show line numbers
set showcmd " show selection metadata (like selected character count)
set showcmd " show selection metadata
set showmode " show INSERT, VISUAL, etc. mode
set showmatch " show matching brackets
set autoindent smartindent " auto/smart indent
@@ -16,6 +16,10 @@ filetype indent on " enable filetype-specific indenting
filetype plugin on " enable filetype-specific plugins
colorscheme cobalt " requires cobalt.vim to be in ~/.vim/colors
" column-width visual indication
let &colorcolumn=join(range(81,999),",")
highlight ColorColumn ctermbg=235 guibg=#001D2F
" tabs and indenting
set autoindent " auto indenting
set smartindent " smart indenting