about summary refs log tree commit diff stats
path: root/modules/by-name/zs/zsh/config/keymaps/visual.zsh
blob: c09cd57872f2ff799eb4cc28ff259aa7d43ba756 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
bindkey -N visual

bindkey -M visual "^[" deactivate-region

bindkey -M visual "t" down-line
bindkey -M visual "n" up-line

bindkey -M visual "o" exchange-point-and-mark
bindkey -M visual "p" put-replace-selection


bindkey -M visual "x" vi-delete
bindkey -M visual "u" vi-down-case
bindkey -M visual "~" vi-oper-swap-case
bindkey -M visual "U" vi-up-case


bindkey -M visual "aW" select-a-blank-word
bindkey -M visual "aa" select-a-shell-word
bindkey -M visual "aw" select-a-word

bindkey -M visual "iW" select-in-blank-word
bindkey -M visual "ia" select-in-shell-word
bindkey -M visual "iw" select-in-word


bindkey -M visual "a(" select-bracketed
bindkey -M visual "a)" select-bracketed
bindkey -M visual "a<" select-bracketed
bindkey -M visual "a>" select-bracketed
bindkey -M visual "aB" select-bracketed
bindkey -M visual "a[" select-bracketed
bindkey -M visual "a]" select-bracketed
bindkey -M visual "ab" select-bracketed
bindkey -M visual "a{" select-bracketed
bindkey -M visual "a}" select-bracketed
bindkey -M visual "i(" select-bracketed
bindkey -M visual "i)" select-bracketed
bindkey -M visual "i<" select-bracketed
bindkey -M visual "i>" select-bracketed
bindkey -M visual "iB" select-bracketed
bindkey -M visual "i[" select-bracketed
bindkey -M visual "i]" select-bracketed
bindkey -M visual "ib" select-bracketed
bindkey -M visual "i{" select-bracketed
bindkey -M visual "i}" select-bracketed

bindkey -M visual "a'" select-quoted
bindkey -M visual "a\"" select-quoted
bindkey -M visual "a\`" select-quoted
bindkey -M visual "i'" select-quoted
bindkey -M visual "i\"" select-quoted
bindkey -M visual "i\`" select-quoted