-
Notifications
You must be signed in to change notification settings - Fork 10
/
.inputrc
40 lines (35 loc) · 933 Bytes
/
.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
# set editing-mode vi
# set keymap vi
set bell-style visible
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
set keymap vi-insert
"jj": vi-movement-mode
"\C-w": backward-kill-word
"\C-p": history-search-backward
$endif
# Use the text that has already been typed as the prefix for searching through
# commands (i.e. more intelligent Up/Down behavior)
"\e[A": history-search-backward
"\e[B": history-search-forward
# Completion tweaks
set completion-ignore-case on
set completion-map-case on
set show-all-if-ambiguous on
set mark-symlinked-directories on
set match-hidden-files on
# set visible-stats on
set skip-completed-text on
set colored-stats on
# Allow UTF-8 input and output
set input-meta on
set output-meta on
set convert-meta off
# Bash-specific mappings and settings
$if Bash
Space: magic-space
\C-w: backward-kill-word
# "\C-n": menu-complete
$endif