aboutsummaryrefslogtreecommitdiffstats
path: root/_inputrc
blob: 1e1f66f506664d9c177a8bbadd561d2f3614b776 (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
#
# ~/.inputrc
# readline configurations
#
# Reference:
# [1] ArchWiki - Readline
#     https://wiki.archlinux.org/index.php/Readline
#
# Aaron LI
# Created: 2015-09-26
# Updated: 2016-05-14
#

#$include /etc/inputrc

# vi mode
set editing-mode vi
$if mode=vi
set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward
set keymap vi-insert
# these are for vi-insert mode
"\e[A": history-search-backward
"\e[B": history-search-forward
$endif

# The bell style used e.g. on error or tab completion, possible values
# are `none', `visible', and `audible' the ringing the bell.
set bell-style none

# If set to on, words which have more than one possible completion without
# any possible partial completion cause the matches to be listed immediately
# instead of ringing the bell.
set show-all-if-unmodified on

# If set to on, words which have more than one possible completion cause the
# matches to be listed immediately instead of ringing the bell.
set show-all-if-ambiguous on


#  vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=readline: #