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

[bug]: bind: no keybinding found for sequence "\ek" #3

Closed
sophiabrandt opened this issue Jul 13, 2020 · 1 comment
Closed

[bug]: bind: no keybinding found for sequence "\ek" #3

sophiabrandt opened this issue Jul 13, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@sophiabrandt
Copy link

Hello,
thank you for creating this plugin.

I'm using kitty as my terminal and fish as interactive shell.

Every time I restart kitty, I get the error: bind: no binding found for sequence "\ek".
The key binding does work though.

If I comment out the following lines in ~/.config/fish/conf.d/f_key_bindings.fish, I don't get the error:

if not bind \ek
    bind \ek __f_insert_from_picker
end

if not bind -M insert \ek
    bind -M insert \ek __f_insert_from_picker
end

function f_key_bindings_uninstall --on-event f_key_bindings_uninstall
    bind \ek | string match -e __f_insert_from_picker
    and bind -e \ek

    bind -M insert \ek | string match -e __f_insert_from_picker
    and bind -M insert -e \ek
end

Kitty version: kitty 0.17.4
fish: version 3.1.2
OS: Linux 5.4.44-1-MANJARO x86_64 GNU/Linux

Possibly related issue: No binding found for sequence “\nbind -M visual ” #38.

Thank you for any pointers on how to solve this!

@sudormrfbin
Copy link
Owner

bind prints the no keybinding found message because Alt-K isn't initially defined. That behavior is the expected one and it's supposed to be suppressed manually. In my fisher config, all errors during sourcing of the plugin files were being suppressed and I never noticed it. Thanks for pointing it out !

@sudormrfbin sudormrfbin added the bug Something isn't working label Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants