Skip to content

Instantly share code, notes, and snippets.

@mjf
Created February 2, 2023 09:38
Show Gist options
  • Save mjf/1f052306344d8375af1a29a9b72aaa4e to your computer and use it in GitHub Desktop.
Save mjf/1f052306344d8375af1a29a9b72aaa4e to your computer and use it in GitHub Desktop.
inputrc - Readline configuration
$if mode=emacs
$if term=screen.xterm
set show-mode-in-prompt on
set emacs-mode-string \1\eP\e[6\ q\e\\\2
$endif
$endif
$if mode=vi
$if term=screen.xterm
set show-mode-in-prompt on
set vi-cmd-mode-string \1\eP\e[2\ q\e\\\2
set vi-ins-mode-string \1\eP\e[6\ q\e\\\2
$endif
$endif
set blink-matching-paren on
set completion-display-width 0
set enable-bracketed-paste off
set mark-symlinked-directories on
set show-all-if-ambiguous on
set skip-completed-text on
# vi:ft=readline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment