-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinputrc
More file actions
32 lines (26 loc) · 728 Bytes
/
inputrc
File metadata and controls
32 lines (26 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set input-meta on
set output-meta on
set convert-meta off
set completion-ignore-case on
set expand-tilde on
set show-all-if-ambiguous on
# NOTE: The following bindings are set with iTerm2:
# Preferences -> Profiles -> Keys -> Load Preset -> xterm with Numeric Keypad
# Also option key acts as +Esc
# Alt left/right
"\e[1;9C": forward-word
"\e[1;9D": backward-word
# Alt up/down
"\e[1;9A": history-search-backward
"\e[1;9B": history-search-forward
# Home/End
"\e[H": beginning-of-line
"\e[F": end-of-line
# PageUp/PageDown
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# Alt P/N
"\ep": history-search-backward
"\en": history-search-forward
# Shift+Tab: Expand alias
"\e[Z": alias-expand-line