Skip to content

Instantly share code, notes, and snippets.

@papachan
Last active December 28, 2016 20:10
Show Gist options
  • Save papachan/e077e90b9e62718f07416eddd9eeb23b to your computer and use it in GitHub Desktop.
Save papachan/e077e90b9e62718f07416eddd9eeb23b to your computer and use it in GitHub Desktop.
setenv LANG en_US.UTF-8
if ($term == "xterm" || $term == "vt100" \
|| $term == "vt102" || $term !~ "con*") then
# bind keypad keys for console, vt100, vt102, xterm
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