annotate inputrc @ 52:d07ce874a280

[bash] securing test. Should use bashism but I hate bashism.
author Edho Prima Arief <me@myconan.net>
date Wed, 27 Apr 2011 11:50:03 -0400
parents 2ae8e6222b9d
children 81d132d8c757
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
1 #Basic settings
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
2 set bell-style none
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
3 set keymap emacs
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
4
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
5 #Home/End
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
6 #GNOME Terminal
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
7 "\eOH": beginning-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
8 "\eOF": end-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
9 #tmux
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
10 "\e[1~": beginning-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
11 "\e[4~": end-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
12
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
13 #Delete
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
14 "\e[3~": delete-char
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
15
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
16 #Alt-Left/Right
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
17 #GNOME Terminal
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
18 "\e[1;3D": backward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
19 "\e[1;3C": forward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
20 #tmux
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
21 "\e\e[D": backward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
22 "\e\e[C": forward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
23
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
24 #Up/Down
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
25 "\e[A": history-search-backward
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
26 "\e[B": history-search-forward
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
27
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
28 #Misc
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
29 "\C-w": backward-kill-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
30