projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ae9d0d
)
zsh: keybindings: unify case ++
author
Bernhard Tittelbach
<bernhard@tittelbach.org>
Fri, 27 Jan 2012 00:48:05 +0000
(
01:48
+0100)
committer
Bernhard Tittelbach
<bernhard@tittelbach.org>
Fri, 27 Jan 2012 00:48:05 +0000
(
01:48
+0100)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
60ecb28
..
2d89da2
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-660,8
+660,8
@@
bindkey "\e[5~" history-beginning-search-backward-end # PageUp
#k# search history forward for entry beginning with typed text
bindkey "\e[6~" history-beginning-search-forward-end # PageDown
#k# search history forward for entry beginning with typed text
bindkey "\e[6~" history-beginning-search-forward-end # PageDown
-# bindkey -s '^
L
' "|less\n" # ctrl-L pipes to less
-# bindkey -s '^
B
' " &\n" # ctrl-B runs it in the background
+# bindkey -s '^
l
' "|less\n" # ctrl-L pipes to less
+# bindkey -s '^
b
' " &\n" # ctrl-B runs it in the background
# insert unicode character
# usage example: 'ctrl-x i' 00A7 'ctrl-x i' will give you an §
# insert unicode character
# usage example: 'ctrl-x i' 00A7 'ctrl-x i' will give you an §
@@
-1002,7
+1002,7
@@
insert-datestamp() { LBUFFER+=${(%):-'%D{%Y-%m-%d}'}; }
zle -N insert-datestamp
#k# Insert a timestamp on the command line (yyyy-mm-dd)
zle -N insert-datestamp
#k# Insert a timestamp on the command line (yyyy-mm-dd)
-bindkey '^
E
d' insert-datestamp
+bindkey '^
e
d' insert-datestamp
# press esc-m for inserting last typed word again (thanks to caphuso!)
insert-last-typed-word() { zle insert-last-word -- 0 -1 };
# press esc-m for inserting last typed word again (thanks to caphuso!)
insert-last-typed-word() { zle insert-last-word -- 0 -1 };