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

fix: allow nvim to enter command-line window #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rodhash
Copy link
Contributor

@rodhash rodhash commented Jun 7, 2022

Hello Chris,

I made a minor fix in my local config and I suspect this might be interesting to you so I'm submitting this PR.

With the autocommand in place it's impossible to enter command-line window and search / browser previous commands issued, like this:

image

I suspect the purpose of that autocommand was to not create winbar in such window, so I created a buftype check and included "nofile" which also don't create the winbar.

We're now able to enter and browser the history of commands as in the print screen.

I hope this helps.

Thank you

This autocommand was closing the cmd-line window (q: / CTRL_F) immediately when we tried to enter it.

Instead of the autocmd, added a buftype check to not create winbar in the Cmd Window, which was the purpose of that autocmd (I believe).
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

Successfully merging this pull request may close these issues.

1 participant