summaryrefslogtreecommitdiff
path: root/user:hugues/KeyBindings.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'user:hugues/KeyBindings.zsh')
-rw-r--r--user:hugues/KeyBindings.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh
index 4cb44c5..5cb226d 100644
--- a/user:hugues/KeyBindings.zsh
+++ b/user:hugues/KeyBindings.zsh
@@ -236,6 +236,10 @@ 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'
done
# redefines push-line for vicmd