Coordinates placeholder
Place coordinates instead of target search.
Start file
test bla test test test test
End file
1,1 10,1 15,1 1,2 6,2
View Diff
1,2c1,5 < test bla test test < test test --- > 1,1 > 10,1 > 15,1 > 1,2 > 6,2
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 37 remaining solutions by signing in and submitting your own entry
#38 Asmund / @herrasbe - Score: 56 - 01/09/13 @ 20:44
j$qq?\<t<CR>ce<C-R>=getpos('.')<CR><BS><Esc>q4@q:g/^0/d<CR>qqkJxDPa,<Esc>kq4@qZZ
@Asmund_L: Not very short, but it was fun to use getpos()
@runarfu: Amazing! Maybe it could be a winner if @uzver submitted a much larger problem instance?
2 comments