Config

# Ctrl-/ to Undo.
"\e[47;5u": undo

# C-backspace to remove the previous word.
"\e[127;5u": backward-kill-word

# HOME and END escape codes.
"\eOH": beginning-of-line
"\eOF": end-of-line

"\e[1~": beginning-of-line
"\e[4~": end-of-line

# Present ambiguous items.
set show-all-if-ambiguous on

# Use tab to cycle through auto-complete suggestions.
"\C-i": menu-complete

# Use shift tab to cycle through auto-complete suggestions backward.
"\C-\S-i": menu-complete-backward

# Ignore case when doing completion.
set completion-ignore-case on