-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.inputrc
51 lines (39 loc) · 1.32 KB
/
.inputrc
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ~/.inputrc
# Marc Wilson (msw@cox.net)
#set completion-ignore-case on
#set horizontal-scroll-mode on
#set show-all-if-ambiguous on
set mark-directories on
set mark-symlinked-directories on
set match-hidden-files on
set visible-stats on
# bell-style competes with the shell, so if you're using an xterm with
# a visible bell, don't set this, or set it to 'audible'
# set bell-style audible
# also requires 'set -o vi' in bash
#set editing-mode vi
#set keymap vi
# some defaults / modifications for the emacs mode
$if mode=emacs
# allow the use of the Home/End keys
# "\e[1~": beginning-of-line
# "\e[4~": end-of-line
# allow the use of the Delete/Insert keys
# "\e[3~": delete-char
# "\e[2~": quoted-insert
# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[5C": forward-word
"\e[5D": backward-word
# "\e\e[C": forward-word
# "\e\e[D": backward-word
# 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
# $Id: .inputrc,v 1.5 2004/11/01 02:50:21 mwilson Exp mwilson $