forked from eyesmd/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.inputrc
23 lines (21 loc) · 767 Bytes
/
.inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Convenient incremental search
# http://www.behrooz.xyz/home/tips-and-tricks/the-blog/amoreconvenientincrementalsearchinterminalbashlinux
"\e[A": history-search-backward
"\e[B": history-search-forward
# Convenient line kill
"\C-d": kill-whole-line
# for some reason a single binding screws up the default behaviour of the
# terminal, so stealing those from other git repos (thx guiz)
# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word