fix: allow nvim to enter command-line window #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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