fix(key-bindings): ensure <Esc-l> works if line is not empty (#13391)
Some checks failed
CI / Run tests (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Update dependencies / Check for updates (push) Has been cancelled

This commit is contained in:
Alexey Trofimenko
2025-10-23 22:29:46 +04:00
committed by GitHub
parent 55aa4c40e2
commit 99017b8eac

View File

@@ -112,7 +112,7 @@ bindkey -M vicmd '^[[1;5D' backward-word
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
bindkey -s '\el' 'ls\n' # [Esc-l] - run command: ls
bindkey -s '\el' '^q ls\n' # [Esc-l] - run command: ls
bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.
bindkey ' ' magic-space # [Space] - don't do history expansion