-
Notifications
You must be signed in to change notification settings - Fork 0
/
.inputrc
21 lines (16 loc) · 948 Bytes
/
.inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# If set to ‘on’, Readline performs filename matching and completion in a case-insensitive fashion.
set completion-ignore-case on
# This alters the default behaviour of the completion functions. If set to ‘on’, words which have
# more than one possible completion cause the matches to be listed immediately instead of ringing the bell.
set show-all-if-ambiguous on
# Map tab to cycle through all the possible completions.
TAB: menu-complete
# Map up-arrow and down-arrow to allow the search for completions to the current line from your history.
# e.g. type “git” and then hit control-p to cycle through all the recent git commands.
"\e[A":history-search-backward
"\e[B":history-search-forward
# Use Control-j and Control-k to scroll through the history (function as arrow up/down keys basically)
Control-j: history-search-forward
Control-k: history-search-backward
Control-g: "cd $(find -type d | fzf)"
Control-f: "nvim $(fzf)"