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

window label on statusline each window method no longer works with Neovim global statusline" feature #59

Open
stephane-klein opened this issue Mar 23, 2022 · 3 comments

Comments

@stephane-klein
Copy link

stephane-klein commented Mar 23, 2022

Hello,

I use Neovim, since I use "global statusline" feature (enabled with laststatus = 3), I can't see anymore the window label on statusline each window.

Now, I have to necessarily to enable choosewin_overlay_enable option.

I'm not sure how this plugin should behave when global statusline feature is enabled 🤔

Best regards,
Stéphane

@stephane-klein
Copy link
Author

cc @t9md

@Vssblt
Copy link

Vssblt commented Mar 27, 2022

Unfortunately. This plug looks like no longer maintained. The author's last reply was two years ago. Maybe you should fork out this project and fix it by yourself. :)

@hexh250786313
Copy link

Try this

function ChooseWinShowingStatusLine()
  let current = &laststatus
  set laststatus=2
  ChooseWin
  exec 'set laststatus=' . current
endfunction

nnoremap <space>ww <cmd>call ChooseWinShowingStatusLine()<CR>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants