#My chages first

#Shows matches after first pressing of TAB 
set show-all-if-ambiguous on

#Use alt-s  cycles through all possible matches
"\M-s": menu-complete

#Search in history using Up and Down keys
"\e[A": history-search-backward
"\e[B": history-search-forward
#Note: CTRL-R searches in history

#Alt-o shows previous command and position cursor between first and second word
"\M-o": "\C-p\C-a\M-f "

#use CTRL-f to delete content od command line
#Note: Other deleting commands CTRL-k delete to the end, CTRL-u to the line
#beginning
"\C-f": kill-whole-line



#RH stuff now
# do not bell on tab-completion
set bell-style none

set meta-flag on
set input-meta on
set convert-meta off
set output-meta on

# Completed names which are symbolic links to
# directories have a slash appended.
#set mark-symlinked-directories on

$if mode=emacs

# for linux console and RH/Debian xterm
"\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

# for rxvt
"\e[8~": end-of-line

# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif
 
inputrc.txt · Last modified: 2008/08/23 10:14 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki