-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinputrc
More file actions
20 lines (16 loc) · 803 Bytes
/
inputrc
File metadata and controls
20 lines (16 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# We intentionally don't include the system's Readline configuration since
# different operating systems have different custom keybindings, and it's more
# consistent to just rely on Readline's own defaults.
# Make Readline 8-bit clean by preserving characters with the high bit set in
# text input and output.
set input-meta on
set output-meta on
# Prevent Readline from stripping the high bit and prefixing escape.
set convert-meta off
# Don't instruct the terminal to set the 8th bit when a key is pressed with alt
# help down; this is weird, and nobody should be doing it anymore:
# http://invisible-island.net/ncurses/ncurses.faq.html#bash_meta_mode.
set enable-meta-key off
# Handle Up/Down, matching on partially typed commands.
"\e[A": history-search-backward
"\e[B": history-search-forward