Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 54fb143d91984a0e75007579

Fill visual area

Just have fun!

Start file
vim: set nrformats=alpha:
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
End file
vim: set nrformats=alpha:
jihgfedcba
iihgfedcba
hhhgfedcba
ggggfedcba
fffffedcba
eeeeeedcba
dddddddcba
ccccccccba
bbbbbbbbba
aaaaaaaaaa

View Diff

2,11c2,11
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
---
> jihgfedcba
> iihgfedcba
> hhhgfedcba
> ggggfedcba
> fffffedcba
> eeeeeedcba
> dddddddcba
> ccccccccba
> bbbbbbbbba
> aaaaaaaaaa

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 30 remaining solutions by signing in and submitting your own entry
#31 Epety / @sudoask - Score: 88 - 03/10/15 @ 06:05
j8<C-V>}ra<C-V>78j8l<Up>rb7j7l2H<Up><Down><C-V>7j7lrc<C-V>6j6lrd<C-V>5j5lre<C-V>4j4lrf<C-V>3j3lrg2j<Up><Up><C-V>2j2lrh1j1<Up>V<Esc>2H<C-V>1j1lrirjZZ

0 comments


Created by: @mcr05

31 active golfers, 70 entries

Leaderboard (lowest score wins):
88
#31 - Epety / @sudoask

03/10/2015 at 06:05AM