-
Notifications
You must be signed in to change notification settings - Fork 0
/
text-navigation-and-editing.talon
100 lines (73 loc) · 1.35 KB
/
text-navigation-and-editing.talon
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
piper:
insert(" | ")
dasher:
insert(" - ")
em dash:
insert("—")
em dasher:
insert(" — ")
angler:
insert(" > ")
spamma:
insert(", ")
secure address:
insert("https://")
emoji picker:
key(ctrl-cmd-space)
dink:
edit.right()
donk:
edit.left()
scrap:
key(backspace)
# could be longer if needed
poke:
key(delete)
jump:
edit.up()
slide:
edit.down()
# push, pop, step, stone: Emily Shea
# https://github.com/2shea/talon_starter_pack/blob/9e8b5204bc56a51e4e5d752dc3362e3f2d3bb249/text/generic_editor.py
push:
key(cmd-right)
pop:
key(cmd-left)
step:
key(alt-right)
stone:
key(alt-left)
# Text Selection
poach:
edit.select_word()
(bevvy | drink | gulp):
edit.extend_word_left()
taste:
edit.extend_left()
snack:
edit.extend_word_right()
nibble:
edit.extend_right()
grab text:
key(shift:down)
mouse_click(0)
key(shift:up)
tracking.zoom_cancel()
edit.copy()
sleep(500ms)
mouse_click(0)
grab word:
tracking.zoom_cancel()
mouse_click(0)
mouse_click(0)
edit.copy()
sleep(500ms)
mouse_click(0)
grab (line|paragraph):
tracking.zoom_cancel()
mouse_click(0)
mouse_click(0)
mouse_click(0)
edit.copy()
sleep(500ms)
mouse_click(0)