Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (40 sloc) 1.31 KB
# Be 8 bit clean.
set input-meta on
set output-meta on
set convert-meta off
# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert
# from http://www.pixelbeat.org/settings/.inputrc
# By default up/down are bound to previous-history
# and next-history respectively. The following does the
# same but gives the extra functionality where if you
# type any text (or more accurately, if there is any text
# between the start of the line and the cursor),
# the subset of the history starting with that text
# is searched (like 4dos for e.g.).
# Note to get rid of a line just Ctrl-C
#
"\e[B": history-search-forward
"\e[A": history-search-backward
$if Bash
# F10 toggles mc on and off
# Note Ctrl-o toggles panes on and off in mc
"\e[21~": "mc\C-M"
#do history expansion when space entered
Space: magic-space
$endif
# Bind ^L to clear
C-L: clear-screen
# Single tab press shows possible values for autocomplete
set show-all-if-ambiguous on
# Case insensitive completion
set completion-ignore-case on
# Be insensititve to hyphens and underscores when autocompleting
set completion-map-case on
# Include system wide settings which are ignored
# by default if one has their own .inputrc
$include /etc/inputrc