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 single item from quickfix list #117

Open
timsofteng opened this issue Mar 27, 2021 · 5 comments
Open

Delete single item from quickfix list #117

timsofteng opened this issue Mar 27, 2021 · 5 comments
Labels

Comments

@timsofteng
Copy link

Hello. Can this plugin help me to delete single item from quickfix list?

@romainl
Copy link
Owner

romainl commented Mar 27, 2021

Not at the moment. I have had some discussion about this with other users in the past but it sadly went nowhere.

The ability to do something like :.Reject to reject the current line or :11,15Reject to reject lines 10 to 15 (actually entries 9 to 14) would probably be useful.

@timsofteng
Copy link
Author

timsofteng commented Mar 27, 2021

@romainl Yep. It would be pretty nice if user can delete current item from itself or any other item from quickfix list buffer.
I don't understand why it's not vim's built-in functionality.

@romainl
Copy link
Owner

romainl commented Mar 27, 2021

Vim now has :help :Cfilter, which is roughly equivalent to vim-qf's historic :Filter and works pretty much the same way. Maybe it actually is worth it to open a feature request for range support over at vim/vim?

@timsofteng
Copy link
Author

Vim now has :help :Cfilter, which is roughly equivalent to vim-qf's historic :Filter and works pretty much the same way. Maybe it actually is worth it to open a feature request for range support over at vim/vim?

Maybe it makes sense.
Could you open it in vim repo? I'm sure you could describe problem better than me as a developer.

@romainl
Copy link
Owner

romainl commented Mar 28, 2021

I just pushed range support for :Keep and :Reject.

You can now do :.Reject to remove the currently selected entry or :10,15Reject to remove entries 10-15. Same for :Keep.

Happy to get any feedback.

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

No branches or pull requests

2 participants