Skip to content

Instantly share code, notes, and snippets.

@dhamidi
Created September 11, 2013 13:37
Show Gist options
  • Save dhamidi/6523733 to your computer and use it in GitHub Desktop.
Save dhamidi/6523733 to your computer and use it in GitHub Desktop.
My readline configuration
$include /etc/inputrc
set bind-tty-special-chars off
set skip-completed-text on
set bell-style visible
"\C-x\C-e": edit-and-execute-command
"\C-xa\"": "\"\C-x\C-x\C-f\""
"\C-xa(": "(\C-x\C-x\C-f)"
"\C-xa[": "[\C-x\C-x\C-f]"
"\C-xa{": "{\C-x\C-x\C-f}"
$if Bash
"\C-xas": "$(\C-x\C-x\C-f\C-f)"
$endif
"\C-w": kill-region
"\M-w": copy-region-as-kill
"\M-/": dabbrev-expand
"\C-SPC": set-mark
"\C-u": universal-argument
"TAB": menu-complete
"\M-TAB": menu-complete-backward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment