Comments (7)
I could be wrong but I don't think users can configure the width of the
sign column. quickfixsigns itself doesn't do anything about the sign
column. IIRC the sign column is shown as soon as you place a sign. You
might want to ask at the vim user group if there is a way to configure
the width of the sign column. You're right that quickfixsigns makes use
only of one cell for textual signs. Images are displayed in 2 cell
width, though. I guess that's also the reason why the column is 2 cells
wide.
from quickfixsigns_vim.
Why not merging the symbols?
For example, if git is set in the first column and quickfix in the second all information would available, don't you think?
from quickfixsigns_vim.
VIM's sign API doesn't provide for such a thing. You can only display one sign per line. You could of course write a library that handles this for you and somehow merges multiple signs on a line (and quickfixsigns was originally intended as such an approach) but then all plugins would have to use this library, which won't happen unless it becomes part of standard vim. And this most likely won't happen either.
from quickfixsigns_vim.
But isn't quickfixsigns setting the sign value to "-1"
when one line was deleted when compared with git HEAD? And if it is, why can't it set it to "+A"
when there is a new line and the mark A?
from quickfixsigns_vim.
You'd have to define new signs for all possible combinations but you
still wouldn't be able to deal with graphical signs. A better approach
would be to rotate signs at the same line but that's complex too.
IMHO it's a waste of time trying to display multiple signs in the sign
column. VIM isn't prepared for that. Quickfixsign will display mulitple
signs in the balloon text, which IMHO is sufficient. Most other editors
I know handle this problem similar to VIM.
from quickfixsigns_vim.
I understand your point and I agree that graphical signs are not easy to deal with, but I think you are focusing too much on gvim, which I assume is what you are using.
With standard vim there are no balloons and there are only text signs. Since there is no icon limitation and there are 2 columns available I really think this plugin would benefit from this by allowing "merging" up to 2 signs.
from quickfixsigns_vim.
I don't think it's doable so that the result justifies time & effort that would goes into implementing this from a vimscript plugin. One could of course change the VIM source code to do what you want but this would have to be implemented by somebody else who has too much spare time.
from quickfixsigns_vim.
Related Issues (20)
- vcs: fugitive's `Gwrite` sets signs, but should not HOT 5
- use quickfixsigns when over column width? HOT 3
- Do not overwrite signs from Syntastic's location list HOT 10
- Feature Request: parameter to set VCS directory crawl depth HOT 4
- echo quickfix/location entrie description in command line. HOT 1
- Unnecessary 'silent sign list' in plugin/quickfixsigns.vim?
- Screenshots HOT 1
- Colorschemes for QuickfixSigns defined in color files is overridden by autoloader HOT 2
- Disable on specific buffer type HOT 1
- maintained? HOT 2
- Update signs of corresponding buffer for fugitive buffers HOT 2
- VCS signs overlayed with generic marks HOT 3
- Confliction between quickfixsigns_vim and ambiwidth=double
- Issue #72 still reproduces
- vcsdiff: git: using -U0 causes diffs to be mis-aligned HOT 2
- QuickfixsignsSelect removes all signs though only one class is given HOT 1
- Highlights should be (re)defined on colorscheme changes HOT 2
- vcsdiff: async mode? HOT 1
- vcsdiff: handle modified buffer
- s:ProcessSign does not handle new sign output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickfixsigns_vim.