-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputrc
36 lines (32 loc) · 1.34 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
# Makes console in mac sane.
#
# ln -s /path/here/inputrc ~/.inputrc
set input-meta on
set output-meta on
set convert-meta off
# To use these in ITerm2 you may also need to configure preferences to send the correct escape
# code for the key combination.
# Option + Arrows to jump words.
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[1;9D": backward-word
"\e[1;9C": forward-word
# The following are other escape sequences that can be configured in Iterm2 preferences.
# ESC ^H Delete previous word (backspace key) [n]
# ESC DEL Delete previous word (delete key) [n]
# ESC SP Set the mark (space key); see ^X^X and ^Y above
# ESC . Get the last (or [n]'th) word from previous line
# ESC ? Show possible completions; see below
# ESC < Move to start of history
# ESC > Move to end of history
# ESC b Move backward a word [n]
# ESC d Delete word under cursor [n]
# ESC f Move forward a word [n]
# ESC l Make word lowercase [n]
# ESC u Make word uppercase [n]
# ESC y Yank back last killed text
# ESC v Show library version
# ESC w Make area up to mark yankable
# ESC nn Set repeat count to the number nn
# ESC C Read from environment variable ``_C_'', where C is
# an uppercase letter