/[gentoo-src]/rc-scripts/etc/inputrc
Gentoo

Contents of /rc-scripts/etc/inputrc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Jun 3 02:33:00 2005 UTC (9 years, 5 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -2 lines
eat trailing whitespace

1 # /etc/inputrc: initialization file for readline
2 # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/inputrc,v 1.10 2005/06/03 02:32:20 vapier Exp $
3
4 # For more information on how this file works, please see the
5 # INITIALIZATION FILE section of the readline(3) man page
6
7 # do not bell on tab-completion
8 #set bell-style none
9
10 set meta-flag on
11 set input-meta on
12 set convert-meta off
13 set output-meta on
14
15 # Completed names which are symbolic links to
16 # directories have a slash appended.
17 set mark-symlinked-directories on
18
19 $if mode=emacs
20
21 # for linux console and RH/Debian xterm
22 "\e[1~": beginning-of-line
23 "\e[4~": end-of-line
24 #"\e[5~": beginning-of-history
25 #"\e[6~": end-of-history
26 "\e[5~": history-search-backward
27 "\e[6~": history-search-forward
28 "\e[3~": delete-char
29 "\e[2~": quoted-insert
30
31 # gnome-terminal (escape + arrow key)
32 "\e[5C": forward-word
33 "\e[5D": backward-word
34 # konsole / xterm / rxvt (escape + arrow key)
35 "\e\e[C": forward-word
36 "\e\e[D": backward-word
37 # aterm / eterm (control + arrow key)
38 "\eOc": forward-word
39 "\eOd": backward-word
40
41 $if term=rxvt
42 "\e[8~": end-of-line
43 $endif
44
45 # for non RH/Debian xterm, can't hurt for RH/Debian xterm
46 "\eOH": beginning-of-line
47 "\eOF": end-of-line
48
49 # for freebsd console
50 "\e[H": beginning-of-line
51 "\e[F": end-of-line
52 $endif
53
54 # fix Home and End for German users
55 "\e[7~": beginning-of-line
56 "\e[8~": end-of-line

  ViewVC Help
Powered by ViewVC 1.1.20