Skip to content

Instantly share code, notes, and snippets.

@jordelver
Created March 1, 2013 09:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordelver/5063615 to your computer and use it in GitHub Desktop.
Save jordelver/5063615 to your computer and use it in GitHub Desktop.
Make the Sign Column show up all the time
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Add a 'dummy' sign to the Sign Column to make it show up all the time
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
function! ShowSignColumn()
sign define dummy
execute 'sign place 9999 line=1 name=dummy buffer=' . bufnr('')
endfunc
"" Make the Sign Column always show up
au BufRead,BufNewFile * call ShowSignColumn()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment