annotate rc/inputrc @ 644:485c0f09d01f

Exclude ruby from custom inputrc Rather broken with latest ruby readline implementation.
author nanaya <me@nanaya.pro>
date Sun, 19 Jul 2020 21:48:27 +0900
parents 9b47effe702f
children 1d8596cf49bc
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
383
9b47effe702f Better directory symlink tab completion.
Edho Arief <edho@myconan.net>
parents: 347
diff changeset
5 # automatically append / to symlinked directories
9b47effe702f Better directory symlink tab completion.
Edho Arief <edho@myconan.net>
parents: 347
diff changeset
6 set mark-symlinked-directories on
9b47effe702f Better directory symlink tab completion.
Edho Arief <edho@myconan.net>
parents: 347
diff changeset
7
6
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
8 #Home/End
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
9 #GNOME Terminal
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
10 "\eOH": beginning-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
11 "\eOF": end-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
12 #tmux
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
13 "\e[1~": beginning-of-line
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
14 "\e[4~": end-of-line
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 #Delete
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
17 "\e[3~": delete-char
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
18
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
19 #Alt-Left/Right
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
20 #GNOME Terminal
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
21 "\e[1;3D": backward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
22 "\e[1;3C": forward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
23 #tmux
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
24 "\e\e[D": backward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
25 "\e\e[C": forward-word
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
26
644
485c0f09d01f Exclude ruby from custom inputrc
nanaya <me@nanaya.pro>
parents: 383
diff changeset
27 $if Ruby
485c0f09d01f Exclude ruby from custom inputrc
nanaya <me@nanaya.pro>
parents: 383
diff changeset
28 $else
6
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
29 #Up/Down
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
30 "\e[A": history-search-backward
2ae8e6222b9d Added inputrc.
Edho Prima Arief <me@myconan.net>
parents:
diff changeset
31 "\e[B": history-search-forward
61
81d132d8c757 [inputrc] Added history search for gnome terminal version.
Edho Prima Arief <me@myconan.net>
parents: 6
diff changeset
32 #GNOME Terminal
81d132d8c757 [inputrc] Added history search for gnome terminal version.
Edho Prima Arief <me@myconan.net>
parents: 6
diff changeset
33 "\eOA": history-search-backward
81d132d8c757 [inputrc] Added history search for gnome terminal version.
Edho Prima Arief <me@myconan.net>
parents: 6
diff changeset
34 "\eOB": history-search-forward
644
485c0f09d01f Exclude ruby from custom inputrc
nanaya <me@nanaya.pro>
parents: 383
diff changeset
35 $endif