From 8ea77e45ba770a03f418813ffe0613295a9f801d Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 9 Aug 2021 19:29:41 +0200 Subject: [PATCH] zsh: restore some useful emacs mode bindings --- files/zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/zshrc b/files/zshrc index 99767ce..b9d233e 100644 --- a/files/zshrc +++ b/files/zshrc @@ -31,3 +31,8 @@ zle-keymap-select() { } zle -N zle-keymap-select +# Restore some common and useful emacs mode shortcut. +bindkey -M viins '^a' vi-beginning-of-line +bindkey -M viins '^e' vi-end-of-line +bindkey -M viins '^l' vi-end-of-line +