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 35 remaining solutions by signing in and submitting your own entry
#36 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

36 active golfers, 67 entries

Leaderboard (lowest score wins):
14
#31 - Phil Runninger / @PhilRunninger

03/12/2015 at 01:31PM

15
#32 - Deepak Surti / @dmsurti

03/12/2015 at 01:14PM

19
#33 - BartJanssen / @BartJanssen

03/12/2015 at 09:48PM

20
#34 - Vincent Birebent / @Mauve_Force

09/20/2020 at 10:10PM

21
#35 - Brent Woo / @BrentPWoo

10/02/2018 at 07:07PM

93
#36 - Nick / @Nick05348019

06/09/2019 at 08:09AM