--- a/.hgrc Thu Aug 04 01:15:54 2011 +0300
+++ b/.hgrc Mon Aug 08 09:15:53 2011 +0300
@@ -30,4 +30,5 @@
hgext.graphlog =
; Enable '.hgeol' tracking (fix for CR/LF).
hgext.eol =
-
+; Allow cherry-picking.
+transplant =
--- a/.inputrc Thu Aug 04 01:15:54 2011 +0300
+++ b/.inputrc Mon Aug 08 09:15:53 2011 +0300
@@ -17,6 +17,10 @@
# meta-prefixed characters.
set output-meta on
+# Terminal driver rebound some keys. See output 'stty -a'. I like original
+# control codes (to set 'C-w', etc).
+set bind-tty-special-chars off
+
# Ignore case (on/off).
set completion-ignore-case on
@@ -58,8 +62,10 @@
$endif
# Define my favorite Emacs key bindings.
+"\C-@": set-mark
"\C-w": kill-region
"\M-w": copy-region-as-kill
+"\M-/" dabbrev-expand
# Ctrl+Left/Right to move by whole words.
"\e[1;5C": forward-word
@@ -72,6 +78,12 @@
"\e[3;5~": kill-word
"\C-_": backward-kill-word
+# UP/DOWN filter history by typed string as prefix.
+"\e[A": history-search-backward
+"\C-p": history-search-backward
+"\e[B": history-search-forward
+"\C-n": history-search-forward
+
# Local Variables:
# mode: shell-script
# fill-column: 78