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

Use <C-enter> in fzf_actions #1548

Open
dtrckd opened this issue Jun 4, 2024 · 2 comments
Open

Use <C-enter> in fzf_actions #1548

dtrckd opened this issue Jun 4, 2024 · 2 comments

Comments

@dtrckd
Copy link

dtrckd commented Jun 4, 2024

Hi,
Is it possible to map to fzf_actions (I could not make it work so far) ?
I would want to map that key to open a file in new tab.

@junegunn
Copy link
Owner

junegunn commented Jun 5, 2024

Are you running terminal Vim or GVim?

fzf doesn't support ctrl-enter natively as the chord is not recognized by standard terminals. See "AVAILABLE KEY" section of man fzf.

But if you use GVim, it may be possible to use something like tmap to map ctrl-enter to ctrl-t inside the terminal buffer where fzf runs, though I haven't tried.

@dtrckd
Copy link
Author

dtrckd commented Jun 8, 2024

Thank you for your answer and suggestion.

No, I am using NVim, inside a terminal emulator (kitty | xfce4-terminal)

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

No branches or pull requests

2 participants