-
-
Notifications
You must be signed in to change notification settings - Fork 798
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
live_grep select_default on Kitty clears input field rather than jumping to match #3048
Comments
hmm... |
Same issue with a default kitty config, I have no idea what this might be related to.. |
Just spitballing here but you don't happen to have a custom keyboard, maybe the enter key is sending something not exactly enter? 😅 honestly no idea |
I would assume not, simply got an azerty Lenovo laptop keyboard, here's the output of xev if you're interested 😄
|
A bit late, but maybe it could help if i send my kitty config: |
Description
When using the live_grep function of Telescope, most of the times (but not all times), when pressing enter, the input field gets cleared rather than jumping to the match.
Please note that this ONLY happens when using Kitty, all other terminal emulators that I've tested worked fine.
In the video attached below you can see that when grepping for "ODIN_DEBUG", pressing enter simply clears the input field, this seems to occur more frequently when having fzf installed (apt install fzf) (not sure if that's related), and grepping for longer words also seems to increase the frequency of it happening.
This works fine when holding alt and then pressing enter, similar to #2731.
Running
:verbose imap <cr>
while having the live grep window open tells metelescope|select_default
is bound.Neovim version
Operating system and version
Pop!_OS 22.04 LTS
Telescope version / branch / rev
0.1.6 I assume / commit 5a701e9
checkhealth telescope
Steps to reproduce
Expected behavior
This should simply jump to the expected line rather than clearing the input field.
Actual behavior
Screencast.from.04-13-2024.12.14.37.PM.webm
The fact that I'm in a git repo is not important.
Minimal config
The text was updated successfully, but these errors were encountered: