-
Notifications
You must be signed in to change notification settings - Fork 0
/
.inputrc
43 lines (34 loc) · 970 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Tasti Home/End per spostarsi
# all'inizio/fine della riga
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# PgUp e PgDn per l'autocompletamento
# in base alla history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# Alt + Canc/Delete per eliminare intere parole
# davanti/dietro al cursore
"\e[3;3~": kill-word
"\e[3;9~": kill-word
Meta-Rubout: backward-kill-word
# Alt + frecce destra/sinistra per spostarsi
# da una parola all'altra
"\e[1;3C": forward-word
"\e[1;3D": backward-word
"\e[1;9C": forward-word
"\e[1;9D": backward-word
# Pseudo vim mappings
"\el": forward-word
"\eh": backward-word
"\ej": history-search-forward
"\ek": history-search-backward
"\ex": kill-word
"\eX": backward-kill-word
# Two escapes clear command line.
"\e\e": kill-whole-line
# Cycle through completitions
"\e/": menu-complete
# Completamento case-insensitive
set completion-ignore-case on
# Use one tab only to show alternatives
set show-all-if-ambiguous on