summaryrefslogtreecommitdiff
path: root/user:hugues/Bindings
diff options
context:
space:
mode:
Diffstat (limited to 'user:hugues/Bindings')
-rw-r--r--user:hugues/Bindings28
1 files changed, 11 insertions, 17 deletions
diff --git a/user:hugues/Bindings b/user:hugues/Bindings
index f7b0b54..301eb28 100644
--- a/user:hugues/Bindings
+++ b/user:hugues/Bindings
@@ -1,7 +1,6 @@
-#
-# 'bindkey -a' output
-#
-bindkey '#' set-mark-command
+## Résultat d'un ``bindkey''
+
+bindkey '#' set-mark-command
bindkey '^A' beginning-of-line
bindkey '^B' backward-char
bindkey '^D' delete-char-or-list
@@ -148,11 +147,11 @@ bindkey ' '-'~' self-insert
bindkey '' backward-delete-char
bindkey '\M-^@'-'\M-' self-insert
-#
-# Some personal bindings
-#
+# Raccourcis pour les todo : funny :)
+# 'q' stands for 'push-line'
-# 'q' stands for 'push-line', it's a good thing to use it :)
+bindkey -s 'r' 'Q rehash\n'
+bindkey -s 'R' 'Q reset\n'
bindkey -s 't' 'Q todo\n'
#bindkey -s 'T' 'Q todo all -c\n'
@@ -160,25 +159,20 @@ bindkey -s 't' 'Q todo\n'
bindkey -s 'é' ' 2>/dev/null '
bindkey -s '2' ' 2>&1 '
-bindkey -s 'm' 'Q make\n' # would be redefined as "mails" in some cases
+bindkey -s 'm' 'Q make\n'
bindkey -s 'M' 'Q make\n'
bindkey -s 'l' 'Q l\n'
-# conflicts with "lowercase word"
#bindkey -s 'L' 'Q la\n'
-#bindkey -s 'L' 'Q clear\n'
-bindkey -s ' ' '\\ ' # Very useful ! Mod-space escapes the space :)
+bindkey -s ' ' '\\ '
bindkey -s 'g' 'Q git-status\n'
bindkey -s 'G' 'Q git-repack -d -a\n'
-bindkey -s 'r' 'Q rehash\n'
-bindkey -s 'R' 'Q reset\n'
-
-# Very useful :)
bindkey -s 'S' 'Q sudo !!'
-# Restarts zsh to take our new config into account ;)
bindkey -s 'X' 'Q exec zsh\n'
+# conflicts with "lowercase word"
+#bindkey -s 'L' 'Q clear\n'