From f65a7cc38905ad74c0d398cd165b7454f00d4b2d Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 14 Jun 2012 12:15:10 +0200 Subject: [Funcs] Internals / ZLE Widgets cleanup --- user:hugues/KeyBindings.zsh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'user:hugues') diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh index eb8bf71..6d8a5f4 100644 --- a/user:hugues/KeyBindings.zsh +++ b/user:hugues/KeyBindings.zsh @@ -196,10 +196,10 @@ bindkey '\M-^@'-'\M-' self-insert # # + for keymap in viins vicmd emacs do - bindkey -M $keymap -s 'r' 'Q __up_up ; rehash\n' - bindkey -M $keymap -s 'R' 'Q __up_up ; reset\n' + bindkey -M $keymap 'r' _rehash if ( __cmd_exists when ) then @@ -227,18 +227,18 @@ do bindkey -M $keymap -s 'S' 'Q sudo !!' - bindkey -M $keymap -s 'X' 'Q __up_up ; 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' bindkey -M $keymap -s 'OC' 'forward-word' bindkey -M $keymap -s 'OD' 'backward-word' - bindkey -M $keymap 'q' push-line - bindkey -M $keymap 'Q' push-line + bindkey -M $keymap 'q' push-input + bindkey -M $keymap 'Q' push-input - bindkey -M $keymap -s 'K' 'Q __up_up\n' - bindkey -M $keymap -s 'B' 'Q tput clear ; tput cup $(tput lines) 0\n' + bindkey -M $keymap -s 'R' 'Q __clear\n' + bindkey -M $keymap -s 'B' 'Q __clear $(tput lines)\n' done # redefines push-line for vicmd -- cgit v1.2.3