.inputrc
changeset 159 022803a4d179
parent 143 e78ca0a7e608
child 160 d45758677427
equal deleted inserted replaced
158:1df00afab192 159:022803a4d179
    14 set convert-meta off
    14 set convert-meta off
    15 
    15 
    16 # Display characters with the eighth bit set directly rather than as
    16 # Display characters with the eighth bit set directly rather than as
    17 # meta-prefixed characters.
    17 # meta-prefixed characters.
    18 set output-meta on
    18 set output-meta on
       
    19 
       
    20 # Terminal driver rebound some keys. See output 'stty -a'. I like original
       
    21 # control codes (to set 'C-w', etc).
       
    22 set bind-tty-special-chars off
    19 
    23 
    20 # Ignore case (on/off).
    24 # Ignore case (on/off).
    21 set completion-ignore-case on
    25 set completion-ignore-case on
    22 
    26 
    23 set completion-query-items 100
    27 set completion-query-items 100
    56 # editor, in that order.
    60 # editor, in that order.
    57 "\C-x\C-e": edit-and-execute-command
    61 "\C-x\C-e": edit-and-execute-command
    58 $endif
    62 $endif
    59 
    63 
    60 # Define my favorite Emacs key bindings.
    64 # Define my favorite Emacs key bindings.
       
    65 "\C-@": set-mark
    61 "\C-w": kill-region
    66 "\C-w": kill-region
    62 "\M-w": copy-region-as-kill
    67 "\M-w": copy-region-as-kill
       
    68 "\M-/" dabbrev-expand
    63 
    69 
    64 # Ctrl+Left/Right to move by whole words.
    70 # Ctrl+Left/Right to move by whole words.
    65 "\e[1;5C": forward-word
    71 "\e[1;5C": forward-word
    66 "\e[1;5D": backward-word
    72 "\e[1;5D": backward-word
    67 # Same with Shift pressed.
    73 # Same with Shift pressed.