# readline/history settings and bindings $include /etc/inputrc set meta-flag on set convert-meta off set input-meta on set output-meta on set bell-style none set completion-ignore-case off set expand-tilde on # In all programs, all terminals, make sure this is bound. "\C-x\C-r": re-read-init-file Tab: complete M-Tab: menu-complete # Some terminals have ugly default behaviour for C-h. #"\C-h": backward-delete-char #"\e\C-h": backward-kill-word # PgUp/PgDn "\e[5~": history-search-backward "\e[6~": history-search-forward # Debug "\C-xf": dump-functions "\C-xv": dump-variables "\C-xm": dump-macros # Notice the various bindings which are conditionalized depending # on which program is running, or what terminal is active. # In xterm windows, make the arrow keys do the right thing. $if term=xterm $include $HOME/lib/X11/inputrc $endif $if term=rxvt $include $HOME/lib/X11/inputrc $endif $if term=vt100 $include $HOME/lib/X11/inputrc $endif $if term=screen $include $HOME/lib/X11/inputrc $endif # For bash, all terminals, add some bash specific hacks. #$if Bash #$endif