]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .inputrc
.bashrc: Do Fink init on OSX, cond alias vi->vim
[dotfiles.git] / .inputrc
1 # do not bell on tab-completion
2 set bell-style bell
3
4 set expand-tilde off
5 set input-meta off
6 set convert-meta on
7 set output-meta off
8 set horizontal-scroll-mode off
9 set history-preserve-point on
10 set mark-directories on
11 set mark-symlinked-directories on
12 set match-hidden-files off
13
14 # completion settings
15 set page-completions off
16 set completion-query-items 2000
17 set completion-ignore-case off
18 set show-all-if-ambiguous on
19 set show-all-if-unmodified on
20 set completion-prefix-display-length 10
21 set print-completions-horizontally off
22
23 #set editing-mode emacs
24
25 ## reload file
26 #"\C-x\C-r": re-read-init-file
27
28 #C-n: history-search-forward
29 #C-p: history-search-backward
30
31 #$if mode=emacs
32 #
33 ## make control-tab complete from history
34 ## C-TAB: dynamic-complete-history
35 #
36 #"\e[A": history-search-backward
37 #"\e[B": history-search-forward
38 #
39 ## for linux console and RH/Debian xterm
40 #"\e[1~": beginning-of-line
41 #"\e[4~": end-of-line
42 #"\e[5~": beginning-of-history
43 #"\e[6~": end-of-history
44 #"\e[3~": delete-char
45 #"\e[2~": quoted-insert
46 #"\e[5C": forward-word
47 #"\e[5D": backward-word
48 #"\e\e[C": forward-word
49 #"\e\e[D": backward-word
50 #
51 ## for rxvt
52 #"\e[8~": end-of-line
53 #
54 ## for non RH/Debian xterm, can't hurt for RH/DEbian xterm
55 #"\eOH": beginning-of-line
56 #"\eOF": end-of-line
57 #
58 ## for freebsd console
59 #"\e[H": beginning-of-line
60 #"\e[F": end-of-line
61 #
62 #$endif