~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/Xdefaults.pterm: Fiddle with `pterm' colours.
[profile]
/
dot
/
inputrc
diff --git
a/dot/inputrc
b/dot/inputrc
index
0f09c10
..
ff6daa2
100644
(file)
--- a/
dot/inputrc
+++ b/
dot/inputrc
@@
-10,21
+10,29
@@
set bell-style none
set bind-tty-special-chars off
set blink-matching-paren on
set colored-completion-prefix off
set bind-tty-special-chars off
set blink-matching-paren on
set colored-completion-prefix off
+$if Bash
set colored-stats on
set colored-stats on
+$endif
+$if term=dumb
+$else
set enable-bracketed-paste on
set enable-bracketed-paste on
+$endif
## Missing bindings
"\e\e[C": forward-word
"\e\e[D": backward-word
"\e ": "\e\\ "
## Missing bindings
"\e\e[C": forward-word
"\e\e[D": backward-word
"\e ": "\e\\ "
+"\e\C-w": kill-region
## Because the default bindings are just too weird.
"\en": history-search-forward
"\ep": history-search-backward
## Because the default bindings are just too weird.
"\en": history-search-forward
"\ep": history-search-backward
+"\C-u": kill-whole-line
## Better cursor motion.
## Better cursor motion.
+$if Bash
"\e\C-b": shell-backward-word
"\e\C-d": shell-kill-word
"\e\C-f": shell-forward-word
"\C-w": shell-backward-kill-word
"\e\C-b": shell-backward-word
"\e\C-d": shell-kill-word
"\e\C-f": shell-forward-word
"\C-w": shell-backward-kill-word
-"\e\C-w": kill-region
+$endif