Blob


1 $include /etc/inputrc
3 # Set visual bell
4 set bell-style visible
5 set prefer-visible-bell
7 # Bash history search using Arrow keys
8 "\e[A": history-search-backward
9 "\e[B": history-search-forward
11 # Bash history search using C-p and C-n
12 "\C-p": history-search-backward
13 "\C-n": history-search-forward
15 # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
16 "\e[1;5C": forward-word
17 "\e[1;5D": backward-word
18 "\e[5C": forward-word
19 "\e[5D": backward-word
20 "\e\e[C": forward-word
21 "\e\e[D": backward-word
23 # Mimic Zsh run-help ability
24 "\eh": "\C-a\eb\ed\C-y\e#man \C-y\C-m\C-p\C-p\C-a\C-d\C-e"
26 # produce such a list only when no completion is possible
27 set show-all-if-ambiguous on
28 set show-all-if-unmodified on
30 # Immediately add a trailing slash when autocompleting symlinks to directories
31 set mark-symlinked-directories on
33 # Do not autocomplete hidden files unless the pattern explicitly begins with a dot
34 set match-hidden-files off
36 # Be more intelligent when autocompleting by also looking at the text after
37 # the cursor. For example, when the current line is "cd ~/src/mozil", and
38 # the cursor is on the "z", pressing Tab will not autocomplete it to "cd
39 # ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
40 # Readline used by Bash 4.)
41 set skip-completed-text on
43 # Allow UTF-8 input and output, instead of showing stuff like $'\0123\0456'
44 set input-meta on
45 set output-meta on
46 set convert-meta off