summaryrefslogtreecommitdiff
path: root/.inputrc
blob: 7c67c33446eab3c3a392d4497f83dcd469afd2af (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
"\C-@": set-mark
"\C-x\C-d": kill-region
"\ew": copy-region-as-kill
"\C-xxg": revert-line
"\C-/": undo
"\ei": tab-insert
"\e\\": delete-horizontal-space

# previous-history, next-history and reverse-search-history are very
# frequently used, so perhaps we shouldn't rebind them, because doing so makes
# it harder to use arbitrary shells on machines without my .inputrc installed.
# On the other hand, I use Eshell/comint much more than bash, and often type
# M-p and M-n into bash by mistake.
#
# Don't rebind the commands normally bound to M-p and M-n to C-p and C-n
# because those commands are not very useful, and this way C-p and C-n still
# have their default bindings, meaning we depart a bit less from convention.

"\ep": previous-history
"\en": next-history
"\er": reverse-search-history
"\es": forward-search-history

set input-meta on
set output-meta on
set completion-ignore-case on
set completion-query-items 120
set page-completions off
set print-completions-horizontally on
set mark-symlinked-directories on
set skip-completed-text on
set visible-stats on
set bell-style none
set enable-bracketed-paste on