summaryrefslogtreecommitdiff
path: root/user:hugues/KeyBindings.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-07-03 11:15:15 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-07-03 11:15:15 +0200
commit89096752f0c027ae273653990718ef0358aeb29c (patch)
tree2178d7755b66e83127448eebf61b2e48676c6dac /user:hugues/KeyBindings.zsh
parentb39cad4e48a261b9b41c80592313b52044edfc87 (diff)
Misc stuff / Prompt / Vim
Diffstat (limited to 'user:hugues/KeyBindings.zsh')
-rw-r--r--user:hugues/KeyBindings.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh
index a79047f..5419e5b 100644
--- a/user:hugues/KeyBindings.zsh
+++ b/user:hugues/KeyBindings.zsh
@@ -56,7 +56,7 @@ bindkey '^F' forward-char
bindkey '^G' send-break
bindkey '^H' backward-delete-char
bindkey '^I' expand-or-complete
-bindkey '^J' accept-line
+bindkey '^J' accept-line # '\n' is considered as ^J
bindkey '^K' kill-line
bindkey '^L' clear-screen
bindkey '^M' accept-line
@@ -237,7 +237,7 @@ do
bindkey -M $keymap '^[q' push-input
bindkey -M $keymap '^[Q' push-input
- bindkey -M $keymap -s '^[R' '^[Q __clear\n'
+ bindkey -M $keymap -s '^[R' '^[Q up_up ; __redefine_prompt\n^[xreset-prompt\n'
bindkey -M $keymap -s '^[B' '^[Q __clear $(tput lines)\n'
done