summaryrefslogtreecommitdiff
path: root/ar/.config/shell/inputrc
blob: 81cdf85e9c0c41b054f0e8eecd26eef0c95f141a (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
$include /etc/inputrc

set completion-display-width 0
set completion-query-items 1000

# Prettyfi
set colored-stats on
set colored-completion-prefix on

# ^C no longer shows on C-c keypress
set echo-control-characters off

# Map tab to cycle through all the possible completions.
TAB: menu-complete

# vi mode
set editing-mode vi

$if mode=vi
set show-mode-in-prompt on
set vi-ins-mode-string \1\e[6 q\2
set vi-cmd-mode-string \1\e[2 q\2
set keymap vi-command

# these are for vi-command mode
Control-l: clear-screen

set keymap vi-insert
# these are for vi-insert mode
Control-l: clear-screen
$endif