Skip to content

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