From 27e629b68066c7aa6ea781a797f0aabd9f5f0924 Mon Sep 17 00:00:00 2001 From: braham Date: Fri, 8 Apr 2016 20:43:55 -0500 Subject: [PATCH] Correct vim-style autosuggest-accept binding. Update the vim-style command line binding for Ctrl-E such that it properly accepts autosuggestions (instead of doing nothing). --- modules/autosuggestions/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/autosuggestions/init.zsh b/modules/autosuggestions/init.zsh index a3a772e5..a4309639 100644 --- a/modules/autosuggestions/init.zsh +++ b/modules/autosuggestions/init.zsh @@ -31,5 +31,5 @@ fi if [[ -n "$key_info" ]]; then # vi bindkey -M viins "$key_info[Control]F" vi-forward-word - bindkey -M viins "$key_info[Control]E" vi-add-eol + bindkey -M viins "$key_info[Control]E" vi-end-of-line fi