Mercurial > hg > zsh-env
annotate zshrc-bindkey @ 137:8b961f7d78d9
rearrange the fields to be more copy/paste friendly
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 04 Jul 2018 12:23:47 +0200 |
parents | 46fb22ffffa8 |
children |
rev | line source |
---|---|
26
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # Pos1 |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 bindkey '^[[H' beginning-of-line |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 # Ende |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 bindkey '^[[F' end-of-line |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 # Del |
7ca2aaae6c4b
add keybinding for some keys
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 bindkey '^[[3~' delete-char-or-list |
27
2e5759b9e622
add some more key bindings
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
26
diff
changeset
|
9 |
2e5759b9e622
add some more key bindings
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
26
diff
changeset
|
10 # Ctrl-Left |
2e5759b9e622
add some more key bindings
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
26
diff
changeset
|
11 bindkey '^[[1;5D' backward-word |
2e5759b9e622
add some more key bindings
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
26
diff
changeset
|
12 |
2e5759b9e622
add some more key bindings
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
26
diff
changeset
|
13 # Ctrl-Right |
2e5759b9e622
add some more key bindings
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
26
diff
changeset
|
14 bindkey '^[[1;5C' forward-word |
39
46fb22ffffa8
disable history search on key-up
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
33
diff
changeset
|
15 |
46fb22ffffa8
disable history search on key-up
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
33
diff
changeset
|
16 # cursor up just goes back in history |
46fb22ffffa8
disable history search on key-up
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
33
diff
changeset
|
17 bindkey '^[[A' up-history |
46fb22ffffa8
disable history search on key-up
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
33
diff
changeset
|
18 |
46fb22ffffa8
disable history search on key-up
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
33
diff
changeset
|
19 # cursor down just goes forward in history |
46fb22ffffa8
disable history search on key-up
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
33
diff
changeset
|
20 bindkey '^[[B' down-history |