[bin] Add comments to pcd.sh
[mina86-dot-files.git] / inputrc
blob01ce136267d7969e69fc233855dbea184d40e838
1 $include /etc/inputrc
3 set convert-meta off
4 set input-meta on
5 set output-meta on
7 set editing-mode emacs
8 set horizontal-scroll-mode off
10 set mark-directories on
11 set mark-symlinked-directories on
13 set expand-tilde off
15 set menu-complete-display-prefix on
16 set skip-completed-text on
17 set match-hidden-files off
18 set show-all-if-unmodified on
20 set history-preserve-point on
21 Control-p: history-search-backward
22 Control-n: history-search-forward
23 "\e\e[A": menu-complete-backward
24 "\e\e[B": menu-complete
25 Control-d: delete-char-or-list
27 Control-w: kill-word
29 Control-l: redraw-current-line
31 "\C-xf": dump-functions
32 "\C-xm": dump-macros
33 "\C-xv": dump-variables
35 $if Bash
36     Space: magic-space
38     # I’m using a prompt on the right side (showing time).  Issue is that it
39     # does not disappear when accepting a line.  This is not a major problem but
40     # it makes copying and pasting a bit tricky.  Add redrawing a line prior
41     # to accepting it so the right prompt is cleared.
42     "\e\C-j": accept-line
43     "\C-j": "\C-l\e\C-j"
44     "\C-m": "\C-l\e\C-j"
46     "\C-z": "bg"
47 $endif