fix: add down level ':' keybindings to vim and helix modes
This is for terminals that don't send modifiers at all.
This commit is contained in:
parent
271516f07f
commit
0abb21a400
4 changed files with 9 additions and 2 deletions
|
@ -92,7 +92,7 @@ pub fn parse_key_events(allocator: std.mem.Allocator, event: input.Event, str: [
|
|||
//lowercase characters
|
||||
'a'...'z',
|
||||
'0'...'9',
|
||||
'`', '-', '=', '[', ']', '\\', ';', '\'', ',', '.', '/', => {
|
||||
'`', '-', '=', '[', ']', '\\', ':', ';', '\'', ',', '.', '/', => {
|
||||
try result.append(.{ .key = str[i] });
|
||||
i += 1;
|
||||
},
|
||||
|
@ -340,7 +340,7 @@ pub fn parse_key_events(allocator: std.mem.Allocator, event: input.Event, str: [
|
|||
//lowercase characters only inside the escape sequence
|
||||
'a'...'z',
|
||||
'0'...'9',
|
||||
'`', '-', '=', '[', ']', '\\', ';', '\'', ',', '.', '/',
|
||||
'`', '-', '=', '[', ']', '\\', ':', ';', '\'', ',', '.', '/',
|
||||
=> {
|
||||
try result.append(.{ .key = str[i], .modifiers = modifiers });
|
||||
modifiers = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue