diff options
-rw-r--r-- | 12_Prompts.zsh | 1 | ||||
-rw-r--r-- | user:hugues/KeyBindings.zsh | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 41b6b4f..84092dc 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -362,6 +362,7 @@ then HBAR=$(for i in {1..13} ; echo -n - "$_tq_") VBAR=$T_$_tx_$_T + echo echo -n " " echo -n $T_$_tl_ echo -n $HBAR diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh index af31b88..eb8bf71 100644 --- a/user:hugues/KeyBindings.zsh +++ b/user:hugues/KeyBindings.zsh @@ -198,8 +198,8 @@ bindkey '\M-^@'-'\M-' self-insert # for keymap in viins vicmd emacs do - bindkey -M $keymap -s 'r' 'Q rehash\n' - bindkey -M $keymap -s 'R' 'Q reset\n' + bindkey -M $keymap -s 'r' 'Q __up_up ; rehash\n' + bindkey -M $keymap -s 'R' 'Q __up_up ; reset\n' if ( __cmd_exists when ) then @@ -227,7 +227,7 @@ do bindkey -M $keymap -s 'S' 'Q sudo !!' - bindkey -M $keymap -s 'X' 'Q exec zsh -l\n' + bindkey -M $keymap -s 'X' 'Q __up_up ; exec zsh -l\n' bindkey -M $keymap -s 'OA' 'up-line-or-history' bindkey -M $keymap -s 'OB' 'down-line-or-history' |