summaryrefslogtreecommitdiffstats
path: root/.inputrc
blob: 38e321635dca0b5be20fc518ed025960e1a7e05c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html
set colored-stats on
set show-all-if-ambiguous on

# Ignore case and -/_ on completion
set completion-ignore-case on
set completion-map-case on

# completed directory names have a slash appended
set mark-directories on
set mark-symlinked-directories on

# Use the text that has already been typed as the prefix for searching through
# commands (i.e. more intelligent Up/Down behavior)
"\e[B": history-search-forward
"\e[A": history-search-backward

# Use CTRL+b and CTRL+f to move words rather than the default characters
"\C-b": backward-word
"\C-f": forward-word