]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - inputrc
981c6213ac6ae4a27a7e7a4e25479681217084ee
[config/dotfiles.git] / inputrc
1 # Configuration file for readline.
2
3
4 # Only one <tab> is necessary to get a list of all possible options.
5 set show-all-if-ambiguous on
6 set show-all-if-unmodified on
7
8 # Always complete all items no matter how many there are.
9 set completion-query-items -1
10 # And make sure we use a pager for completions (this is also the default).
11 set page-completions on
12
13 # Add character to files denoting the type when completing file names.
14 set visible-stats on
15
16 # Activate Vi editing mode.
17 set editing-mode vi
18
19
20 # KEY BINDINGS
21
22 # Use jj and jk to exit insert mode.
23 "jj": vi-movement-mode
24 "jk": vi-movement-mode
25
26 # <Up>/<Down> with the additional effect that only lines starting with the
27 # current input are matched. Very useful to recall old commands quickly - just
28 # type the first few characters.
29 "\C-p": history-search-backward
30 "\C-n": history-search-forward