Skip to content
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

cmdheight=0: 'showcmd', search count #20087

Open
NEX-S opened this issue Sep 5, 2022 · 2 comments
Open

cmdheight=0: 'showcmd', search count #20087

NEX-S opened this issue Sep 5, 2022 · 2 comments
Labels
enhancement feature request statusline tabline, winbar, statuscolumn

Comments

@NEX-S
Copy link

NEX-S commented Sep 5, 2022

Feature already in Vim?

NO

NVIM v0.8.0-dev-1024-ga220650fd6

Feature description

Recently, I've found that if we set cmdheight=0, these two options will be hidden and cannot use statusline to reshow.

[ 73/87 ] and 24
image

And it seems statusline does not have any config options %f %c etc that can reshow these two options.

This is very inconvenient when we need to know how much char I have selected in visual mode and how many search results in cmdheight=0

btw: if the search result can be dynamic like [ 1/11 ] [ 2/11 ] [ 3/11 ] ..., it would be better :D

best wishes.

@NEX-S NEX-S added the enhancement feature request label Sep 5, 2022
@zeertzjq zeertzjq added the statusline tabline, winbar, statuscolumn label Sep 5, 2022
@justinmk justinmk changed the title Show selected char count and search count in statusline cmdheight=0: 'showcmd' Oct 13, 2022
@justinmk
Copy link
Member

@Shougo
Copy link
Contributor

Shougo commented Oct 14, 2022

Yes. I have implemented the feature in #20536

@NEX-S NEX-S closed this as completed Nov 6, 2022
@NEX-S NEX-S reopened this Nov 6, 2022
@zeertzjq zeertzjq changed the title cmdheight=0: 'showcmd' cmdheight=0: 'showcmd', search count Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request statusline tabline, winbar, statuscolumn
Projects
None yet
Development

No branches or pull requests

4 participants