mitry /.inputrc

Readline config file
# @(#) ~mitry/.inputrc - стартовый файл библиотеки Readline

# use vi line editing commands:
#set editing-mode vi

# Не выводим ничего в первой строке
set horizontal-scroll-mode	Off

#display an asterisk (*) at the start of modified history lines
set mark-modified-lines		On


# Ignore case for the command-line-completion functionality.
set completion-ignore-case	On
set show-all-if-ambiguous	On
set show-all-if-unmodified	On
set match-hidden-files		Off
#set expand-tilde		On

# Разрешает 8-и битный ввод
set meta-flag	On
set input-meta	On
set output-meta	On
set convert-meta Off

#set bell-style none
set bell-style		visible
set visible-stats	On

# -----------------------------------
## Key Mapping:			{{{1

#do history expansion when space entered
SPACE: magic-space
TAB: menu-complete
DEL: delete-char-or-list
#META-RUBOUT:undo
Meta-Control-h:	undo
#Control-Del: backward-kill-word
#Meta-Control-h:	backward-kill-word
#Shift-Insert: paste-from-clipboard


#"\C-\e[D":backward-word

"\eOd": backward-word
"\eOc": forward-word

## for linux console		{{{2
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert

"\e[5C":  forward-word
"\e[5D":  backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word

"\e[A": history-search-backward
"\e[B": history-search-forward

## for xterm			{{{2
"\eOH": beginning-of-line
"\eOF": end-of-line

## for Konsole
"\e[H": beginning-of-line
"\e[F": end-of-line

# }}}2
$if Bash
#"\e[21~": "\C-A\C-Kexit"

# Quote the current or previous word
"\C-x\"": "\eb\eb\"\ef\ef\""

$endif

# follow Sofeng's tips on how to make copy/paste work -myer
"\C-v": paste-from-clipboard
"^[[2~": paste-from-clipboard

# EOF ~/.inputrc