Questions tagged [signs]

Allow placement of a 'sign' in the left-hand side of the window and definition of a highlight which will be applied to that line.

Filter by
Sorted by
Tagged with
9
votes
2answers
401 views

Is it possible to assign a sign to “Todo” group?

Is it possible to add a sign to be displayed in the signs column whenever the line has a ToDo group (ToDo,FIXME...). Tweaking my colorscheme I changed the highlight of the Todo group, but would like ...
5
votes
2answers
149 views

Make column for signs permanent in gVim

I just started using ycm with clang-completer, which apparently can also do syntax checking. It instantly reminded me why I avoided syntax checking in gVim: As soon as an error is found, the signs ...
5
votes
1answer
379 views

Is there a way to quickly jump to signs?

Vim 8 has introduced the sign feature, that allows people to mark locations within a file. I noticed there is a :sign jump command to jump to a sign, but it requires a buffer and an id as an argument,...
4
votes
2answers
641 views

Can I force python-mode's (or syntastic's) error flags over the line number columns?

When syntastic or python-mode finds an error in my python file, they create a new column at the left-hand side of the window with flags at the lines where the errors are: This new column not only ...
3
votes
1answer
478 views

How can I keep the gutter width constant when using YouCompleteMe?

YouCompleteMe puts symbols in the "gutter" (left of the editor) for errors: The problem is that the gutter shifts the whole editor over, and it is only present when there is at least one error. ...
3
votes
2answers
1k views

Change color of signs in SignColumn/Gutter

I have set my sign column background using hi SignColumn ctermbg=236 in my colorscheme file. However, it seems that the background colors for where there are signs has not been changed, and is the ...
3
votes
0answers
562 views

How to show the sign column to the right side of the line number column?

I want Vim's sign column displayed to the right side of the line number column, I have it by default on the left. Here is a screenshot showing the sign column enabled and showing a + to indicate a ...
1
vote
1answer
52 views

Which highlight-group should I use for :sign define x linehl?

The sign help says: linehl={group} Highlighting group used for the whole line the sign is placed in. Most useful is defining a background color. Is there a special group I can use (...
1
vote
0answers
39 views

GitGutter sign not working

I have airblade/vim-gitgutter installed via Vundle. Somehow even with minimal .vimrc vim-gitgutter signs aren't working. My minimal .vimrc is given below, is there any problem there? Any help will be ...
0
votes
1answer
37 views

VimScript - Save specific positions consistently even after buffer changes

I want to save multiple positions in vimscript, and make sure that they stay at the right place, even after the buffer changes Here are the solutions I found so far, and why I want something else: ...
0
votes
1answer
99 views

How to display a sign before the line number gutter?

I'd like to display some characters in left side of the line number gutter just like the vim-syntastic plugin does to show the errors. back when I was starting to learn vim I saw a plugin doing just ...
0
votes
1answer
119 views

change fold sign character

I know per my question remove trailing dashes in foldtext that I can remove the trailing dashes from collapsed fold lines. When a fold is 'open', the sign column has pipe characters '|'. I looked at ...
0
votes
0answers
206 views

Sign column font is cut off

I have an issue where the signs in my sign column are cut off in the middle (screenshot below). Changing the Guifont or the font size doesn't seem to matter. It looks fine in terminal neovim. I am ...