-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feature: Add keymap for :Telescope quickfixhistory
#3813
Comments
I believe the mappings for Telescope should go under |
I see and I understand. What do you suggest as good choices? |
No idea. I don't use Telescope. I've switched to |
I send PR with the narrow scope as suggested. Come to think of, as for #190, I was actually using |
For telescope.lua line 126, above mentioned patch added there is good enough. But what about fzf.lua line 233? Do I need to add similar patch with I am not quite sure about how these fit into the development road map of LazyVim. |
I believe in |
Yah, I found up myself, too. It uses similar but updated internal call. (I updated PR and switched to use fzf-lua here.)
Considering these are upstream documented UI functionality of both telescope and fzf-lua in their README, it is not a bad idea to support them. But like you said, its up to the maintainer. (We can always add them to our keymaps.lua) |
Did you check the docs?
Is your feature request related to a problem? Please describe.
Although we can perform down-selection of quickfix list with
<C-q>
or<M-q>
, currently it is a bit awkward to manage quickfix history generated by such actions.This is because, LazyVim doesn't define keymap for existing
:Telescope quickfixhistory
while:Telescope quickfix
and:Telescope loclist
are already assigned to<leader>sq
and<leader>sl
.For consistency and ease of use, it will be nice to set all Quickfix related key maps under
<leader>x
as::Telescope quickfixhistory
(add:<leader>xh
),:Telescope quickfix
(change:<leader>xt
):Telescope loclist
(change:<leader>xT
)Note:
<leader>xq
,<leader>xQ
,<leader>xl
,<leader>xL
are already takenDescribe the solution you'd like
I have following in my local setting. Making these as a part of LazyVim via its
lua/keymaps.lua
may be good idea.Describe alternatives you've considered
I also thought about changing
<leader>xq
and<leader>xl
as toggling one to avoid creating separate:cclose
/:lclose
bindings.Additional context
Use of noice.nvim is making it more difficult to use
:message
to check:chistory
. Adding above makes this non-issue.This feature also allow us to avoid using
:colder
/:cnewer
which are error prone.The text was updated successfully, but these errors were encountered: