Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (48 sloc) 1.43 KB
# UTF-8 support
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
"\C-p": history-search-backward
"\C-n": history-search-forward
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert
"\C-a": beginning-of-line
"\C-b": backward-char
"\C-d": delete-char
"\C-e": end-of-line
"\C-f": forward-char
"\C-k": kill-line
# ignore iTerms focus notifications
# https://github.com/sjl/vitality.vim/issues/2
"\e[O": ''
"\e[I": ''
# clear the screen with ctrl-l
Control-l: clear-screen
set show-all-if-ambiguous on
set mark-symlinked-directories on
$if Bash
#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
Jump to Line
Something went wrong with that request. Please try again.