Created
November 6, 2013 02:45
-
-
Save yenliangl/7330073 to your computer and use it in GitHub Desktop.
Bind terminal keys in tcsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($?tcsh && $?prompt) then | |
bindkey "\e[1~" beginning-of-line # Home | |
bindkey "\e[7~" beginning-of-line # Home rxvt | |
bindkey "\e[2~" overwrite-mode # Ins | |
bindkey "\e[3~" delete-char # Delete | |
bindkey "\e[4~" end-of-line # End | |
bindkey "\e[8~" end-of-line # End rxvt | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment