summaryrefslogtreecommitdiff
path: root/inputrc-unix
blob: 15e9ef5e00b6146a38652d382e8ed0b587fef574 (plain)
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
# Map ALT-W to copy region (similar to emacs)
# To mark a region, use 'set-mark' (CTRL-Space or CTRL-@)
# To paste/yank, use CTRL-Y
"\ew":copy-region-as-kill

# Try menu complete
"\ez":menu-complete
"\ex":menu-complete-backward

# 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


# Home/End
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\eOH": beginning-of-line
"\eOF": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line