|
|
@ -131,6 +131,9 @@ set nocompatible |
|
|
|
" nginx config file highlighting |
|
|
|
Plugin 'nginx.vim' |
|
|
|
|
|
|
|
" GUI font size - use <Leader><Leader>+ or - to adjust: |
|
|
|
Plugin 'drmikehenry/vim-fontsize' |
|
|
|
|
|
|
|
" snippets |
|
|
|
" Plugin 'SirVer/ultisnips' |
|
|
|
" Plugin 'honza/vim-snippets' |
|
|
@ -471,17 +474,18 @@ set nocompatible |
|
|
|
function! BPB_ColorSchemeOverrides() |
|
|
|
endfunction |
|
|
|
|
|
|
|
" add some display sugar that helps highlight cursor, line width, etc. |
|
|
|
" add some display sugar that helps highlight cursor, searches, and |
|
|
|
" textwidth. good for fiddling with alignment, reflowing text, etc. |
|
|
|
function! BPB_Crosshairs() |
|
|
|
set invhlsearch |
|
|
|
set invcursorcolumn |
|
|
|
set invcursorline |
|
|
|
|
|
|
|
" TODO: this doesn't work: |
|
|
|
if &colorcolumn > 0 |
|
|
|
" toggle a colorcolumn - will get weird if it's set outside this function |
|
|
|
if &colorcolumn == "+1" |
|
|
|
set colorcolumn=0 |
|
|
|
else |
|
|
|
" i think this is relative to textwidth: |
|
|
|
" i think this is relative to textwidth |
|
|
|
set colorcolumn=+1 |
|
|
|
endif |
|
|
|
endfunction |
|
|
|