blob: 278b2a48a0f57c0cae911e0ec4278adda0d1c386 (
plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
## Mageia Linux Configuration
# (c) Mandriva 1999-2005
# (c) Mageia 2011-2012
# Chmouel Boudjnah, Pablo Saratxaga <pablo@mandriva.com>
# do not bell on tab-completion
#set bell-style none
# Show all if ambigious.
set show-all-if-ambiguous on
# 8Bits supports.
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
# bash completions does not use more
set page-completions off
# Completed names which are symbolic links to
# directories have a slash appended.
set mark-symlinked-directories on
# definition of keys in vi mode if vi mode is set at login result
# in totally messed up command line... so it safer to activate it
# only for emacs mode; until the bug is fixed (in libreadline?)
$if mode=emacs
# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# commented out keymappings for pgup/pgdown to reach begin/end of history
#"\e[5~": beginning-of-history
#"\e[6~": end-of-history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
"\e[3~": delete-char
"\e[2~": overwrite-mode
"\e[5C": forward-word
"\e[5D": backward-word
# on gnome-terminal (mdvbz#36287)
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# for rxvt
"\e[7~":beginning-of-line
"\e[8~": end-of-line
"\eOc": forward-word
"\eOd": 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
# on nxterms
"\e[\C-@": beginning-of-line
"\e[e": end-of-line
$if term=xterm
#
# Application keypad and cursor of xterm
# with NumLock ON
#
# Operators
"\eOo": "/"
"\eOj": "*"
"\eOm": "-"
"\eOk": "+"
"\eOl": "+"
"\eOM": accept-line
# Colon and dot
# "\eOl": ","
"\eOn": "."
# Numbers
"\eOp": "0"
"\eOq": "1"
"\eOr": "2"
"\eOs": "3"
"\eOt": "4"
"\eOu": "5"
"\eOv": "6"
"\eOw": "7"
"\eOx": "8"
"\eOy": "9"
$endif
#
# Application keypad and cursor of xterm
#
"\eOD": backward-char
"\eOC": forward-char
"\eOA": previous-history
"\eOB": next-history
"\eOE": re-read-init-file
# emacs mode
$endif
|