Skip to content

return-alt1 keybind does not work #2434

@letstakeawalk

Description

@letstakeawalk

Describe the bug
return-alt1 keybinding config does not work

To Reproduce
configure as below:

# ...
keybinding:
    universal:
        return: 'q'
        return-alt1: '<c-q>'
#...

Expected behavior
Pressing <C-q> should exit input box such as commit prompt but does nothing.

Screenshots
If applicable, add screenshots to help explain your problem.

Version info:
Run lazygit --version and paste the result here
commit=16802a048e0425182f08cf0e9a2bc31480e9a55d, build date=2023-02-01T11:02:43Z, build source=binaryRelease, version=0.37.0, os=darwin, arch=arm64, git version=2.39.1
lazygit installed via homebrew
Run git --version and paste the result here
git version 2.39.1

Additional context
I assume this PR introduced the return-alt1 config. The author used similar keybindings but the other way around. Setting return: '<c-q>' and return-alt1: 'q' does work as intended, but my config does not work

Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions