summaryrefslogtreecommitdiff
path: root/user:hugues
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-02-14 10:52:06 +0100
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-02-14 11:39:46 +0100
commit656af50842cf94fc5c4d36b10b3a7e1367ff68f1 (patch)
treea0a2aa183f9d184572d0705988a92148789ff70d /user:hugues
parent1bf8da54404a8047781cc90624129356e60ed32d (diff)
[Keys] Better bindings for clear-to-top and clear-to-bottom bindings
(keeps standard clean command, which behaviour is good though..)
Diffstat (limited to 'user:hugues')
-rw-r--r--user:hugues/KeyBindings.zsh5
1 files changed, 2 insertions, 3 deletions
diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh
index 5cb226d..2551587 100644
--- a/user:hugues/KeyBindings.zsh
+++ b/user:hugues/KeyBindings.zsh
@@ -237,9 +237,8 @@ do
bindkey -M $keymap 'q' push-line
bindkey -M $keymap 'Q' push-line
- # better than clear-screen since it recalculates prompt...
- bindkey -M $keymap -s ' ' 'Q tput clear\n'
- bindkey -M $keymap -s 'L' 'Q tput clear ; tput cup $(tput lines) 0\n'
+ bindkey -M $keymap -s 'L' 'Q tput clear\n'
+ bindkey -M $keymap -s 'B' 'Q tput clear ; tput cup $(tput lines) 0\n'
done
# redefines push-line for vicmd