-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputrc
22 lines (18 loc) · 809 Bytes
/
inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# To make sense for this file, just install readline
# brew install readline
# Make Tab autocomplete regardless of filename case
set completion-ignore-case on
# Append a slash when autocompleting symbolic links to directories
set mark-symlinked-directories on
# List all matches in case multiple possible completions are possible
set show-all-if-ambiguous on
# Show completions immediately if multiple matches
set show-all-if-unmodified on
# Key bindings for better cursor movement and history search
"\e[1~": beginning-of-line # Home
"\e[4~": end-of-line # End
"\e[5~": history-search-backward # Page Up
"\e[6~": history-search-forward # Page Down
"\e[3~": delete-char # Delete
"\e[5C": forward-word # Ctrl + Right
"\e[5D": backward-word # Ctrl + Left