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 55007a7412685a180e000005

Not enough Ps

Different type of code

Start file
A B C D
B A X Y
B X Y D
D C B A
X D A B
B W Y D
W B D X
A B D X
D Z B Y
D Z B A
End file
A P C D
P A X Y
B X Y D
D C P A
X D A P
B W Y D
W B D X
A P D X
D Z B Y
D Z P A

View Diff

1,2c1,2
< A B C D
< B A X Y
---
> A P C D
> P A X Y
4,5c4,5
< D C B A
< X D A B
---
> D C P A
> X D A P
8c8
< A B D X
---
> A P D X
10c10
< D Z B A
---
> D Z P A

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 31 remaining solutions by signing in and submitting your own entry
#32 Nick / @Nick05348019 - Score: 93 - 06/09/19 @ 08:09
dG<50-53>A P C D<CR>P A X Y<CR>B X Y D<CR>D C P A<CR>X D A P<CR>B W Y D<CR>W B D X<CR>A P D X<CR>D Z B Y<CR>D Z P A<Esc>[201~zz:x<CR>

0 comments


Created by: @zumalifeguard

32 active golfers, 59 entries

Leaderboard (lowest score wins):
21
#31 - Brent Woo / @BrentPWoo

10/02/2018 at 07:07PM

93
#32 - Nick / @Nick05348019

06/09/2019 at 08:09AM