view inputrc @ 122:eacc854eae67

Export should be used since it inherited to subshell (eg. tmux). Also hasten exit instead of fi on the bottom of file.
author Edho Prima Arief <edho@myconan.net>
date Wed, 26 Oct 2011 15:14:48 +0700
parents 4e44a9c03a3a
children
line wrap: on
line source

#Basic settings
set bell-style none
set keymap emacs

#Home/End
#GNOME Terminal
"\eOH": beginning-of-line
"\eOF": end-of-line
#tmux
"\e[1~": beginning-of-line
"\e[4~": end-of-line

#Delete
"\e[3~": delete-char

#Alt-Left/Right
#GNOME Terminal
"\e[1;3D": backward-word
"\e[1;3C": forward-word
#tmux
"\e\e[D": backward-word
"\e\e[C": forward-word

#Up/Down
"\e[A": history-search-backward
"\e[B": history-search-forward
#GNOME Terminal
"\eOA": history-search-backward
"\eOB": history-search-forward

#Misc
"\C-w": unix-filename-rubout