blob: 81a68e97512b39c8eac54ef2c522c9c19144da75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
iList<<Escape> /* insert List< */
~ /* upper case d to D */
yiw /* yank Double */
wx /* delete [ */
r> /* overwrite ] with > */
A new ArrayList<>();<Escape> /* append text */
F< /* find backwards */
"0p
/* paste from yank register */
jdd /* delete { line */
3J /* join data on single line */
qa /* start macro recording */
f,i)<Escape> /* insert ) before comma */
q /* stop macro recording */
@a /* replay macro */
@@@@@@@@@@@@@@ /* again (TODO: count for macro replay, make @ repeatable) */
|