summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Trofimenko <aronaxis@gmail.com>2025-10-23 22:29:46 +0400
committerGitHub <noreply@github.com>2025-10-23 11:29:46 -0700
commit99017b8eac3d7d0e5ba01c7bf0cf9c6d38985536 (patch)
tree36e02f29b949864e19273e7c077bb6a583a6f5f0
parent55aa4c40e235cceb458689182e8e13f6cd99ca69 (diff)
downloadzsh-99017b8eac3d7d0e5ba01c7bf0cf9c6d38985536.tar.gz
zsh-99017b8eac3d7d0e5ba01c7bf0cf9c6d38985536.tar.bz2
zsh-99017b8eac3d7d0e5ba01c7bf0cf9c6d38985536.zip
fix(key-bindings): ensure `<Esc-l>` works if line is not empty (#13391)
-rw-r--r--lib/key-bindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index bf5d4ba30..0d2cecb6a 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -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