Skip to content

Instantly share code, notes, and snippets.

@vmirly
Created October 17, 2013 21:28
Show Gist options
  • Select an option

  • Save vmirly/7032491 to your computer and use it in GitHub Desktop.

Select an option

Save vmirly/7032491 to your computer and use it in GitHub Desktop.
/etc/inputrc command completion from history by pressing Pageup, PageDown, and arroe keys
$if Bash
# Search history back and forward using page-up and page-down
"\e[5~": history-search-backward
"\e[6~": history-search-forward
## arrow up
"\e[A":history-search-backward
## arrow down
"\e[B":history-search-forward
# Completion
set match-hidden-files off
set page-completions off
set completion-query-items 350
set show-all-if-ambiguous on
$endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment