Skip to content

Instantly share code, notes, and snippets.

@shmup
Created January 5, 2026 18:21
Show Gist options
  • Select an option

  • Save shmup/f764d9b496ffc336d4858e99e2f9b205 to your computer and use it in GitHub Desktop.

Select an option

Save shmup/f764d9b496ffc336d4858e99e2f9b205 to your computer and use it in GitHub Desktop.
# two escapes clear command line
"\e\e": "\C-a\C-k"
# tab to menu complete
"\t": menu-complete
$if mode=emacs
"\e[A": history-search-backward
"\e[B": history-search-forward
"\C-p": history-search-backward
"\C-n": history-search-forward
"\e\e[C": forward-word
"\e\e[D": backward-word
$endif
set completion-ignore-case On
set completion-query-items 0
set page-completions off
#set completion-prefix-display-length 2
set expand-tilde on
set convert-meta off
set input-meta on
set mark-directories on
set output-meta on
set show-all-if-ambiguous on
set visible-stats on
set bell-style off
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
$if Bash
#do history expansion when space entered
Space: magic-space
$endif
$include /etc/inputrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment