# HG changeset patch # User Oleksandr Gavenko # Date 1312784153 -10800 # Node ID 3634a8ff70f5614f46ec1100505506696f6f464f # Parent feeb419935494b554c5398319197c7b78165a056# Parent d45758677427795380b1305f0a0f2c5ed6a78526 merged diff -r feeb41993549 -r 3634a8ff70f5 .hgrc --- 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 = diff -r feeb41993549 -r 3634a8ff70f5 .inputrc --- 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