Skip to content

Instantly share code, notes, and snippets.

@zires
Created November 29, 2012 03:28
Show Gist options
  • Select an option

  • Save zires/4166612 to your computer and use it in GitHub Desktop.

Select an option

Save zires/4166612 to your computer and use it in GitHub Desktop.
vimrc config
let mapleader = ","
"--------------------------------------------------------
"" highline current line & column
" DOES NOT WORK with colorscheme solarized and blackboard
" "--------------------------------------------------------
set cursorline
set cursorcolumn
highlight cursorline term=underline cterm=underline ctermbg=0 gui=NONE guibg=Grey40
if has("autocmd")
" current line
au WinLeave * set nocursorline
au WinEnter * set cursorline
" current column
au WinLeave * set nocursorcolumn
au WinEnter * set cursorcolumn
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment