-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputrc
26 lines (20 loc) · 857 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
# From http://www.ukuug.org/events/linux2003/papers/bash_tips
# Incremental search with Up and Down is configured in .inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
# Old behaviour still available with Ctrl+P and Ctrl+N
# If that prevents Left and Right from working, fix them like this:
#"\e[C": forward-char
#"\e[D": backward-char
# There are other readline-based programs without this feature, so make it only apply in Bash:
#$if Bash
# Space: magic-space
#$endif
# When listing possible file completions, put / after directory names and * after executable files
set visible-stats on
# Cycling through potential completions is configured in .inputrc
# List the possible completions when Tab is pressed
set show-all-if-ambiguous on
# set completion-ignore-case on
# Make Meta+S cycle through the list
#"\M-s": menu-complete