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

Delete quickfixlist window #57

Open
yueyingjuesha opened this issue Feb 22, 2022 · 5 comments
Open

Delete quickfixlist window #57

yueyingjuesha opened this issue Feb 22, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@yueyingjuesha
Copy link

Feature description

I know we have a shortcut "<", ">" to switch to the next/previous quick fix list window, I am wondering can we also support some keymap to delete the current quick fix list window? Thanks

Describe the solution you'd like

Support keymap that delete quickfixlist window

Additional context

No response

@yueyingjuesha yueyingjuesha added the enhancement New feature or request label Feb 22, 2022
@kevinhwang91
Copy link
Owner

Do you mean an item or all items in a list?

@yueyingjuesha
Copy link
Author

Do you mean an item or all items in a list?

No I mean we can use < or > to navigate forward or backward right? how to delete an entry in backwards history

@kevinhwang91
Copy link
Owner

We can't, no function or API can delete the list. Why do you want to do this?

@yueyingjuesha
Copy link
Author

yueyingjuesha commented Feb 22, 2022

We can't, no function or API can delete the list. Why do you want to do this?

Some times I use :vim to search some symbol references into quickfix list, basically quickfix list served as a cache for quick navigation between symbol references, usually my code base is quite large and search may take a few seconds, so I want to delete some old cache to make "<" few steps to my desired quickfix list window

Also curious is this quickfix history a native neovim stuffs or implemented by this plugin?

@kevinhwang91
Copy link
Owner

Also curious is this quickfix history a native neovim stuffs or implemented by this plugin?

nvim-bqf is an enhance plugin for quickfix, pure native list history.

usually my code base is quite large and search may take a few seconds, so I want to delete some old cache to make "<" few steps to my desired quickfix list window

Make sense, but quickfix window only maintains 10 lists in the stack and the old one will be covered if the new is added. We can't free one list separately, only free all lists (10) at the same time.

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

No branches or pull requests

2 participants