Remove ctrl+a from default keybindings and fix esc
This commit is contained in:
@ -226,6 +226,10 @@ func parseKeybindings(input map[string]string) (output map[Keybind]string) {
|
||||
if err != nil {
|
||||
panic(fmt.Errorf("failed to parse keybinding %s -> %s: %w", shortcut, action, err))
|
||||
}
|
||||
// TODO find out if other keys are parsed incorrectly like this
|
||||
if key == tcell.KeyEscape {
|
||||
ch = 0
|
||||
}
|
||||
parsedShortcut := Keybind{
|
||||
Mod: mod,
|
||||
Key: key,
|
||||
|
@ -5,7 +5,6 @@ main:
|
||||
'Ctrl+Home': scroll_up
|
||||
'Ctrl+End': scroll_down
|
||||
'Ctrl+Enter': add_newline
|
||||
'Ctrl+a': next_active_room
|
||||
'Ctrl+l': show_bare
|
||||
'Alt+Down': next_room
|
||||
'Alt+Up': prev_room
|
||||
|
Reference in New Issue
Block a user