Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (30 sloc) 1.432 kb
7d02270 @mathiasbynens Initial commit.
authored
1 # Make Tab autocomplete regardless of filename case
2 set completion-ignore-case on
df229c4 @mathiasbynens Whitespace cleanup.
authored
3
7d02270 @mathiasbynens Initial commit.
authored
4 # List all matches in case multiple possible completions are possible
cb8bc6e @mathiasbynens Steal some `.inputrc` goodies from @janmoesen/tilde.
authored
5 set show-all-if-ambiguous on
6
7 # Immediately add a trailing slash when autocompleting symlinks to directories
8 set mark-symlinked-directories on
9
10 # Use the text that has already been typed as the prefix for searching through
11 # commands (i.e. more intelligent Up/Down behavior)
12 "\e[B": history-search-forward
13 "\e[A": history-search-backward
14
15 # Do not autocomplete hidden files unless the pattern explicitly begins with a dot
16 set match-hidden-files off
17
18 # Show all autocomplete results at once
19 set page-completions off
20
21 # If there are more than 200 possible completions for a word, ask to show them all
22 set completion-query-items 200
23
24 # Show extra file information when completing, like `ls -F` does
25 set visible-stats on
26
27 # Be more intelligent when autocompleting by also looking at the text after
28 # the cursor. For example, when the current line is "cd ~/src/mozil", and
29 # the cursor is on the "z", pressing Tab will not autocomplete it to "cd
30 # ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
31 # Readline used by Bash 4.)
32 set skip-completed-text on
33
34 # Allow UTF-8 input and output, instead of showing stuff like $'\0123\0456'
35 set input-meta on
36 set output-meta on
37 set convert-meta off
38
39 # Use Alt/Meta + Delete to delete the preceding word
38d3c6c @mathiasbynens Use newlines at EOF consistently
authored
40 "\e[3;3~": kill-word
Something went wrong with that request. Please try again.