equal
deleted
inserted
replaced
15 |
15 |
16 bindkey -s '' '^[/' |
16 bindkey -s '' '^[/' |
17 bindkey -s '' '^[,' |
17 bindkey -s '' '^[,' |
18 |
18 |
19 if [[ $TERM == "console" || $TERM == "vt100" || $TERM == linux* || |
19 if [[ $TERM == "console" || $TERM == "vt100" || $TERM == linux* || |
20 $TERM == xterm* || $TERM == tmux* ]] |
20 $TERM == xterm* || $TERM == screen* || $TERM == tmux* ]] |
21 then |
21 then |
22 bindkey '^[[1~' beginning-of-line # Home |
22 bindkey '^[[1~' beginning-of-line # Home |
23 bindkey '^[[4~' end-of-line # End |
23 bindkey '^[[4~' end-of-line # End |
24 fi |
24 fi |
25 |
25 |
26 # Dans un xterm term=linux |
26 # Dans un xterm term=linux |
27 if [[ -z ${TERM:#linux*} || -z ${TERM:#screen} ]]; then |
27 if [[ $TERM == linux* ]]; then |
28 bindkey '^[[H' beginning-of-line # Home |
28 bindkey '^[[H' beginning-of-line # Home |
29 bindkey '^[[F' end-of-line # End |
29 bindkey '^[[F' end-of-line # End |
30 fi |
30 fi |
31 |
31 |
32 # Dans un xterm |
32 # Dans un xterm |