From 50db2a90498c27d6043b2e49c5976d838ae6dafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Hajzs=C3=B3?= Date: Fri, 29 Sep 2017 14:38:24 +0100 Subject: [PATCH] Add Control+A and Control+E shortcuts Add Control+A and Control+E shortcuts for beginning of line and end of line. --- modules/input/init.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/input/init.zsh b/modules/input/init.zsh index 6fb2bde..9c7d341 100644 --- a/modules/input/init.zsh +++ b/modules/input/init.zsh @@ -61,6 +61,9 @@ if [[ -n "${key_info[End]}" ]]; then bindkey "${key_info[End]}" end-of-line fi +bindkey "${key_info[Control]}A" beginning-of-line +bindkey "${key_info[Control]}E" end-of-line + if [[ -n "${key_info[PageUp]}" ]]; then bindkey "${key_info[PageUp]}" up-line-or-history fi