Blame


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