-
Notifications
You must be signed in to change notification settings - Fork 0
/
tst.scroll
21 lines (21 loc) · 1.25 KB
/
tst.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
oshirts4mike.com ~# Open shirts4mike.com
fIR ~# Click "SHIRTS"
/ew ~# Search for "ew", for each result ..
< C ~# Click selection, opening in a new window
\img⏎yAs ~# Output the src attribute of image
\h1⏎n ~# Select second h1 element and ..
yeElcw<CR> ~# edit its text in neovim and output:
~# go one letter to the left of the end of the next ..
~# word and replace text from current position until ..
~# next word with a linebreak.
\option ~# Search for option elements
¹Y ~# Copy text to "1 and ..
<n¹A> ~# Append the text of all the other option elements on the page to "1
e"1pqqgJhr/q2@qo ~# Output the result of the neovim edit:
~# paste content of 1 register, start recording macro q,
~# join current line with the one below, move one step ..
~# left and replace character under cursor with /,
~# stop recording macro, run the q macro twice, and
~# open a new line at the end of the buffer
ZQ ~# Close window
n > ~# Go to the next "ew" result, if any