summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc21
1 files changed, 12 insertions, 9 deletions
diff --git a/.vimrc b/.vimrc
index 3e05aa8..1d951bc 100644
--- a/.vimrc
+++ b/.vimrc
@@ -41,10 +41,21 @@ syntax on
filetype plugin indent on
"====== End of Plug Required Block and plugins
-let mapleader = ';' " define map leader
+let mapleader = ';'
+
+""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Colorscheme
+""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set background=dark
colorscheme hybrid
+" Use darker backgrounnd 233, the default is 234, lighter color 235 (for color columns)
+highlight Normal ctermbg=233
+highlight ColorColumn ctermbg=234
+
+let &colorcolumn="80,".join(range(121,125),",") " Highlight the 80, 121-> columns
+" let &colorcolumn="80" " Highlight the 80th column only
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Vim variables
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -148,14 +159,6 @@ autocmd BufNewFile,BufRead *.yaml.gotmpl set filetype=yaml " for highlighting
autocmd FileType gitcommit setlocal spell " spell check commits
autocmd FileType gitcommit set complete+=spell " spell complete with CTRL+N/CTRL+P
autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation
-""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => MISC
-""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"Highlight the 80, 120 columns
-"=============================
-highlight ColorColumn ctermbg=235 guibg=#2c2d27
-let &colorcolumn="80,".join(range(121,130),",")
-" let &colorcolumn="80"
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Plugin maps