35
9
I've just added the Git Gutter plugin for Vim which shows lines added/modified/deleted according to git diff
. It uses the Sign Column
to show characters next to each line.
At the moment the column appears on save, which is quite jarring. I'd prefer the column to always show, even if empty.
How can I make Sign Column always visible?
Seems outdated as
set signcolumn=yes
does the trick without shenanigans. – cprn – 2018-10-22T12:43:11.2071@cprn: You're right; I've added that to my answer. Thanks! – Ingo Karkat – 2018-10-22T14:44:59.723
Thank you as well, removing my answer from the bottom then. Cheers! – cprn – 2018-10-22T17:20:30.640
14To make it work in every new buffer you open, put both
autocmd BufEnter * sign define dummy
andautocmd BufEnter * execute 'sign place 9999 line=1 name=dummy buffer=' . bufnr('')
in your vimrc. – akent – 2013-03-07T01:40:24.297