# Include system wide settings which are ignored
# by default if one has their own .inputrc
$include /etc/inputrc

# https://cirw.in/blog/bracketed-paste
set enable-bracketed-paste on

# Don't echo ^C etc (new in bash 4.1)
# Note this only works for the command line itself,
# not if already running a command.
set echo-control-characters off

# TAB completion stuff
TAB: complete
set show-all-if-ambiguous on

# Append a slash when completing symlinked directories
set mark-symlinked-directories on

# A self expanding, auto-correcting alias for sudo.
"suod": "\C-vsudo"

$if mode=emacs

# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward

$endif