fix: allow nvim to enter command-line window#27
Open
rodhash wants to merge 1 commit intoChristianChiarulli:masterfrom
Open
fix: allow nvim to enter command-line window#27rodhash wants to merge 1 commit intoChristianChiarulli:masterfrom
rodhash wants to merge 1 commit intoChristianChiarulli:masterfrom
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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