I often have the piece of code like this:
it "should do something", :focus do
...
end
When I want to delete , :focus
I usually do
1G
f:
daw
focus
(just repeat previous): .
.hr<SPACE>
.Is there any way steps 3-5 can be achieved more efficiently?
You can go:
1G
to go to first linef,
to go to the commadE
to delete till the next end of WORD (WORD in capital letters is any sequence of characters that is not space).With your cursor on the ,
you could do v, e,e,d.
or d,2,e
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With