From b06a5de4dd3239c62b8c3ec30f94dd17f7c91dd4 Mon Sep 17 00:00:00 2001 From: Chauncey Garrett Date: Tue, 18 Jun 2013 14:30:32 -0500 Subject: [PATCH] Added more specific editor values for the prompt [ticket: X] --- modules/editor/init.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index 4838ba74..dc3ff0a0 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -87,9 +87,11 @@ function editor-info { if [[ "$KEYMAP" == 'vicmd' ]]; then zstyle -s ':prezto:module:editor:info:keymap:alternate' format 'REPLY' editor_info[keymap]="$REPLY" + editor_info[alternate]="$REPLY" else zstyle -s ':prezto:module:editor:info:keymap:primary' format 'REPLY' editor_info[keymap]="$REPLY" + editor_info[primary]="$REPLY" if [[ "$ZLE_STATE" == *overwrite* ]]; then zstyle -s ':prezto:module:editor:info:keymap:primary:overwrite' format 'REPLY' @@ -97,6 +99,7 @@ function editor-info { else zstyle -s ':prezto:module:editor:info:keymap:primary:insert' format 'REPLY' editor_info[overwrite]="$REPLY" + editor_info[insert]="$REPLY" fi fi