From 1f955542e04e96cd59e65417fbf4b2d9dfed4618 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 8 Aug 2019 22:08:16 -0400 Subject: [PATCH] Added beginning and end of line keybinds. home goes to the bol. end goes eol. --- zsh/modules/keybinds/init.zsh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zsh/modules/keybinds/init.zsh b/zsh/modules/keybinds/init.zsh index 3073828..02e966d 100644 --- a/zsh/modules/keybinds/init.zsh +++ b/zsh/modules/keybinds/init.zsh @@ -4,3 +4,10 @@ bindkey '^ ' autosuggest-accept # Open command in $EDITOR bindkey '^E' edit-command-line bindkey -M vicmd "v" edit-command-line + +# Start of line +bindkey '^[[1~' beginning-of-line +bindkey -M vicmd '^[[1~' beginning-of-line +# End of line +bindkey '^[[4~' end-of-line +bindkey -M vicmd '^[[4~' end-of-line