1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-11-03 20:51:16 +08:00

fix(key-bindings): ensure <Esc-l> works if line is not empty (#13391)

This commit is contained in:
Alexey Trofimenko 2025-10-23 22:29:46 +04:00 committed by GitHub
parent 55aa4c40e2
commit 99017b8eac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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