Support for alt+arrows for XTerm-compatible terminals.
This commit is contained in:
parent
1bfdd4a562
commit
86d4eab5d2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*kdev4
|
||||
*kate-swp
|
||||
fabfile*
|
||||
.DS_Store*
|
||||
|
@ -85,12 +85,12 @@ case "${TERM}" in
|
||||
bindkey '\e[H' beginning-of-line # home
|
||||
bindkey '\e[F' end-of-line # end
|
||||
bindkey '\e[3~' delete-char # delete
|
||||
#bindkey '\e[1;5C' forward-word # ctrl right
|
||||
#bindkey '\e[1;5D' backward-word # ctrl left
|
||||
bindkey '^[[C' forward-word # ctrl right
|
||||
bindkey '^[[D' backward-word # ctrl left
|
||||
bindkey 'OC' forward-word # ctrl right
|
||||
bindkey 'OD' backward-word # ctrl left
|
||||
bindkey '^[[1;3C' forward-word # alt right
|
||||
bindkey '^[[1;3D' backward-word # alt left
|
||||
# workaround for screen + xterm
|
||||
bindkey '\e[1~' beginning-of-line # home
|
||||
bindkey '\e[4~' end-of-line # end
|
||||
|
Loading…
Reference in New Issue
Block a user