-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputrc
38 lines (30 loc) · 1.22 KB
/
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
# This file controls the behaviour of line input editing for
# programs that use the GNU Readline library. Existing
# programs include FTP, Bash, and GDB.
#
# You can re-read the inputrc file with C-x C-r.
# Lines beginning with '#' are comments.
# @see http://www.gnu.org/software/bash/manual/html_node/Sample-Init-File.html#Sample-Init-File
#
# First, include any system-wide bindings and variable
# assignments from /etc/Inputrc
$include /etc/Inputrc
# allow forward and backward search with arrow keys
"\e[A": history-search-backward
"\e[B": history-search-forward
# enable ctrl left/right
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# Completion options
set show-all-if-ambiguous on
set completion-query-items 500
# Disable audio bell
set bell-style none
# display possible completions using LS_COLORS to indicate their file type
set colored-stats on
# common prefixes longer than this value are replaced with an ellipsis when displaying possible completions
set completion-prefix-display-length 3
# completed names which are symbolic links to directories have a slash appended
set mark-symlinked-directories on
# a character denoting a file’s type is appended to the filename when listing possible completions
set visible-stats on