Skip to content

Instantly share code, notes, and snippets.

@yenliangl
Created November 6, 2013 02:45
Show Gist options
  • Save yenliangl/7330073 to your computer and use it in GitHub Desktop.
Save yenliangl/7330073 to your computer and use it in GitHub Desktop.
Bind terminal keys in tcsh
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