-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathinputrc
23 lines (19 loc) · 865 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
# Good resources for this config:
# * https://www.masteringemacs.org/article/keyboard-shortcuts-every-command-line-hacker-should-know-about-gnu-readline
# * https://tiswww.case.edu/php/chet/readline/rluserman.html
# First attempt at a inputrc file
# Set the editing mode to vi
set editing-mode vi
# Taken from https://www.chainsawonatireswing.com/2012/05/13/fun-with-inputrc-part-1/
# Use Unicode & do NOT use the "8bit hack" to input/output non-ASCII characters
# See http://code.google.com/p/iterm2/wiki/Keybindings
set input-meta on
set output-meta on
set convert-meta off
# When pressing up or down arrows,
# show only history entries that match what was already typed
"\e[A":history-search-backward
"\e[B":history-search-forward
# Turn on case insensitivity for tab-completion
# Ex.: type "doc<tab>" to search for "Documents"
set completion-ignore-case On