1 # Configuration file for readline.
3 # Copyright (C) 2011-2015 Simon Ruderich
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
19 # Only one <Tab> is necessary to get a list of all possible options.
20 set show-all-if-ambiguous on
21 set show-all-if-unmodified on
23 # Always complete all items no matter how many there are.
24 set completion-query-items -1
25 # And make sure we use a pager for completions (this is also the default).
26 set page-completions on
28 # Add character to files denoting the type when completing file names.
31 # Activate Vi editing mode.
39 # Use jk to exit insert mode (jj is too slow to type).
40 "jk": vi-movement-mode
42 # <Up>/<Down> with the additional effect that only lines starting with the
43 # current input are matched. Very useful to recall old commands quickly - just
44 # type the first few characters.
45 "\C-p": history-search-backward
46 "\C-n": history-search-forward
48 # Allow <C-L> in Vi normal mode to clear the screen.