Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 34 lines (29 sloc) 0.947 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
 
# 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
"\ep": history-search-backward

# Option right/left to jump word
"\e\e[C": forward-word
"\e\e[D": backward-word

$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
 
# Include system wide settings which are ignored
# by default if one has their own .inputrc
$include /etc/inputrc
Something went wrong with that request. Please try again.