$include /etc/inputrc # --- bindings "\C-@": set-mark "\C-x\C-d": kill-region "\ew": copy-region-as-kill # previous-history, next-history and reverse-search-history are very # frequently used, so perhaps we shouldn't rebind them, because doing so makes # it harder to use arbitrary shells on machines without my .inputrc installed. # On the other hand, I use Eshell/comint much more than bash, and often type # M-p and M-n into bash by mistake. # # Don't rebind the commands normally bound to M-p and M-n to C-p and C-n # because those commands are not very useful, and this way C-p and C-n still # have their default bindings, meaning we depart less from standard shells. "\ep": previous-history "\en": next-history "\er": reverse-search-history "\es": forward-search-history "\C-xxg": revert-line # --- settings set editing-mode emacs set keymap emacs # set convert-meta off # set output-meta on # set input-meta on # set meta-flag on set completion-ignore-case on # set show-all-if-ambiguous on # set show-all-if-unmodified on set completion-query-items 120 set page-completions off set print-completions-horizontally on set bell-style none set enable-bracketed-paste on