1 |
## Mandrakelinux configuration |
2 |
# Chmouel Boudjnah <chmouel@mandrakesoft.com> |
3 |
|
4 |
# Insert |
5 |
bindkey "^[[2~" yank |
6 |
|
7 |
# Suppr |
8 |
bindkey "^[[3~" delete-char |
9 |
|
10 |
# Begin |
11 |
bindkey "^[[1~" beginning-of-line |
12 |
|
13 |
# End |
14 |
bindkey "^[[4~" end-of-line |
15 |
|
16 |
# Up |
17 |
bindkey "^[[5~" up-line-or-history |
18 |
|
19 |
# Down |
20 |
bindkey "^[[6~" down-line-or-history |
21 |
|
22 |
# Completion for zsh, if you have a slow machine comment these lines !!! |
23 |
_compdir=/usr/share/zsh/functions/Core |
24 |
[[ -z $fpath[(r)$_compdir] ]] && fpath=($fpath $_compdir) |
25 |
autoload -U compinit |
26 |
compinit |
27 |
|
28 |
# Exemple how do you can make a macro with zsh : |
29 |
# bindkey -s ^xs '\C-e"\C-asu -c "' |