-
Notifications
You must be signed in to change notification settings - Fork 1
/
.inputrc
40 lines (31 loc) · 965 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
$include /etc/inputrc
# correct completion from the middle of a word
set skip-completed-text on
# ignore path case
set completion-ignore-case on
# treat hyphens and underscores as equivalent
set completion-map-case on
# use only one tab to provide glob completion
# set show-all-if-ambiguous on
# mark directorios, executables and symlinks on completion with / , * or @
set mark-directories on
set mark-symlinked-directories on
set visible-stats on
# make vi-insert behave like usual emacs
"\C-k": kill-line
"\C-a": beginning-of-line
"\C-e": end-of-line
"\C-l": clear-screen
"\eb": backward-word
"\ef": forward-word
# delete until the previous path separator /
"\C-b": unix-filename-rubout
# cicle through completions
"\e[Z": menu-complete
# "\e[A": history-search-backward
# "\e[B": history-search-forward
"\C-p": history-search-backward
"\C-n": history-search-forward
"\C-xr": re-read-init-file
"\C-xi": redraw-current-line
"\C-x\C-l": shell-expand-line