-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
statusline: Provide overwrite
mode indicator
#3620
statusline: Provide overwrite
mode indicator
#3620
Conversation
I think abusing That's the trick we use with |
Good point, works like a charm! |
67c67e8
to
40a7486
Compare
40a7486
to
2813b5f
Compare
0abf3d7
to
8253c2f
Compare
9960190
to
c1f4e74
Compare
Sorry for chiming in late, and please ignore this comment if you think it just makes things more complicated. I personally find that |
We're aware of the fact that it actually requires a lot space within the Unfortunately we didn't came up with a better, shorter and self explaining suggestion.
Hm, something to consider. |
There are cases where the cursor is displayed as a box so relying only on cursor appearance to indicate overwrite mode cannot be done, but it is an additional feature that may be good with other cursor styles. |
Ok, how to proceed? |
I do not know if it is better to make a poll, but I think we shouldn't change the text or add a feature like @matthias314 said if there is no clear agreement. I am not good with decisions, so I will just leave what I think in this comment and let others or just maintainers decide (once again).
I am fine with the indicator text being changed to It is just nice if the string could be short, but the important part to me is that anyone can easily realize it and remember the meaning. |
Just to clarify: I didn't mean to change the cursor itself, but rather the way the cursor position is displayed in the statusline. (There seems to be a consensus now to go in a different direction, and that's fine.) |
Another option is Regarding changing the way the cursor position is displayed in the statusline, the problem is (at least) that the user can arbitrarily override the format of the statusline by changing the |
Ah... I am sorry that I did not read properly.
I may have caused a misunderstanding so I'll restate the suggested feature, but it was displaying the cursor position with the background and foreground color exchanged. Thinking about specific problems:
The only action to do now probably remains with deciding or voting on a shorter string. My perspective may be unusal so please ignore this part if not useful, but "over" is used in text structure and not abbreviated so |
Ok, so |
c1f4e74
to
e7aacdb
Compare
Updated with this, because it doesn't resize the |
So now it adds |
Sorry, I should have specified what I meant. I also realized there may be problems when using
Overwrite mode is not usually enabled, so I agree too that it wouldn't be useful much (and wastes limited space). If there are no use cases where overwrite mode would be toggled fast a lot, then I don't think anyone will mind the status line flickering. |
Maybe Or |
Both and |
Yes.
But it doesn't seem to bother anyone but me. |
e7aacdb
to
bc2df88
Compare
I don't really care what it says in overwrite mode as that is not visible under normal circumstances, but I don't like taking away space on the statusline in normal input mode with |
The latest version (with |
Actually after a bit more thinking, |
Then we go with the first two letters of over and write |
bc2df88
to
57a6e81
Compare
Better to add a status line configuration option. Like I use Btw, there is a line |
With this merged PR |
Great, but maybe allow to select any part of the status line to indicate it? The same would be also great for |
Maybe, but please then as a different feature request. |
We can store the
overwrite
state in theBuffer
instead of theBufPane
, which makes it easier to be accessed from thestatusline
via thestatusformatl
option.Closes #3155