Update vimrc for legibility, add visual column-width indication.
This commit is contained in:
@@ -5,7 +5,7 @@ set cursorline " highlight the current line
|
|||||||
set nobackup " don't create pointless backup files; Use VCS instead
|
set nobackup " don't create pointless backup files; Use VCS instead
|
||||||
set autoread " watch for file changes
|
set autoread " watch for file changes
|
||||||
set number " show line numbers
|
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 showmode " show INSERT, VISUAL, etc. mode
|
||||||
set showmatch " show matching brackets
|
set showmatch " show matching brackets
|
||||||
set autoindent smartindent " auto/smart indent
|
set autoindent smartindent " auto/smart indent
|
||||||
@@ -16,6 +16,10 @@ filetype indent on " enable filetype-specific indenting
|
|||||||
filetype plugin on " enable filetype-specific plugins
|
filetype plugin on " enable filetype-specific plugins
|
||||||
colorscheme cobalt " requires cobalt.vim to be in ~/.vim/colors
|
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
|
" tabs and indenting
|
||||||
set autoindent " auto indenting
|
set autoindent " auto indenting
|
||||||
set smartindent " smart indenting
|
set smartindent " smart indenting
|
||||||
|
|||||||
Reference in New Issue
Block a user