-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
32 lines (24 loc) · 1.27 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
# The .inputrc file is a configuration file used by the GNU Readline library,
# which provides line-editing and command-line editing capabilities for various programs, including the Bash shell.
# The purpose of the .inputrc file is to customize the behavior of the Readline library.
# It allows you to define keybindings, macros, and various settings that affect the way you interact with the command line.
# For example, you can define keybindings to perform specific actions when certain keys are pressed,
# such as moving the cursor, deleting characters, or invoking commands.
# You can also configure settings like tab completion behavior, history management, and case sensitivity.
# By modifying the .inputrc file, you can tailor the command line editing experience to your preferences,
# making it more efficient and convenient for your specific needs.
$include /etc/inputrc
set colored-stats On
set colored-completion-prefix On
# Completion settings
set show-all-if-ambiguous on
set completion-ignore-case on
set completion-query-items 1000
# ^C no longer shows on C-c keypress
set echo-control-characters off
# Command history search
"\e[A": history-search-backward
"\e[B": history-search-forward
# Move foreward/backward by word
"\e[1;5D": backward-word
"\e[1;5C": forward-word