-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputrc
30 lines (22 loc) · 833 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
# Readline library configuration options.
# http://ss64.com/bash/syntax-inputrc.html
# Disable beeping and window flashing.
set bell-style none
# Use the `vi` set of key bindings (default is `emacs`).
set editing-mode vi
# Set cursor shape depending on mode
set show-mode-in-prompt on
set vi-cmd-mode-string "\1\e[2 q\2"
set vi-ins-mode-string "\1\e[6 q\2"
#Reduce delay between switching between modes in vim
set keyseq-timeout 0.01
# Use case-insensitive TAB autocompletion.
set completion-ignore-case on
# If there are multiple matches for completion,
# make TAB cycle through them.
TAB: menu-complete
# Perform partial completion on the first Tab press, and
# only start cycling full results on the second Tab press.
set menu-complete-display-prefix on
# Display a list of the matching files
set show-all-if-ambiguous on