8000 Executing fg via binding makes keybindings not work the second time · Issue #2114 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Executing fg via binding makes keybindings not work the second time #2114

@jonhoo

Description

@jonhoo

With this binding in config.fish:

function fish_user_key_bindings
    bind \cr 'fg >/dev/null ^/dev/null'
end

Do the following commands in a new shell:

$ vim
# <press Ctrl+Z inside vim to send to background>
# <press Ctrl+r, vim (correctly) restored>
# <press Ctrl+Z again>
# <press Ctrl+r, ^R is printed to terminal, vim is not restored>

In particular, no key bindings work at this point until enter or ^J is pressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0