Skip to content

Instantly share code, notes, and snippets.

@brandonbloom
Created September 12, 2011 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonbloom/1212281 to your computer and use it in GitHub Desktop.
Save brandonbloom/1212281 to your computer and use it in GitHub Desktop.
set fuoptions=maxvert,maxhorz
" Enforce line length
highlight OverLength ctermbg=lightred ctermfg=black guibg=#ffd5d5
match OverLength /\%80v.\+/
set guifont=Droid\ Sans\ Mono:h13,Consolas:h14
" Highlight all instances of the word under the cursor.
set updatetime=500
highlight CursorToken guibg=#dedede
autocmd CursorHold * silent! exe printf('match CursorToken /\<%s\>/', escape(expand('<cword>'), '\'))
autocmd CursorMoved * match none
" Tab line
"set guitablabel=%!GuiTabLabel()
"
"function! GuiTabLabel()
" for i in range(tabpagenr('$'))
" end
" return getcwd()
"endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment