Fix typo in key definition

This commit is contained in:
Kovid Goyal 2022-12-20 15:01:40 +05:30
parent d8284befd3
commit aa9679e56b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -390,8 +390,8 @@ _ksi_deferred_init() {
# Map alt+left/right to move by word if not already mapped. This is expected behavior on macOS and I am tired # Map alt+left/right to move by word if not already mapped. This is expected behavior on macOS and I am tired
# of answering questions about it. # of answering questions about it.
[[ $(builtin bindkey "^[1;3C") == *" undefined-key" ]] && builtin bindkey "^[1;3C" "forward-word" [[ $(builtin bindkey "^[[1;3C") == *" undefined-key" ]] && builtin bindkey "^[[1;3C" "forward-word"
[[ $(builtin bindkey "^[1;3D") == *" undefined-key" ]] && builtin bindkey "^[1;3D" "backward-word" [[ $(builtin bindkey "^[[1;3D") == *" undefined-key" ]] && builtin bindkey "^[[1;3D" "backward-word"
# Unfunction _ksi_deferred_init to save memory. Don't unfunction # Unfunction _ksi_deferred_init to save memory. Don't unfunction
# kitty-integration though because decent public functions aren't supposed to # kitty-integration though because decent public functions aren't supposed to