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 54345d14d529ef0002227d4c

That hyphen

"vim vi improved"

Start file
(vim -
vi
improved)
(vim
vi
improved)
End file
vim vi improved
(vim -
vi
improved)
(vim
vi
improved)

View Diff

0a1
> vim vi improved

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 639 remaining solutions by signing in and submitting your own entry
#640 Juampy NR / @juampynr - Score: 55 - 10/10/14 @ 20:33
<Esc>xJhxx<Esc>lJ<Esc>lllllllllllllx<Esc>ja '<BS>-<Esc>jjkk3yyjjp<Esc>lllllxx<Esc>:wq<CR>

0 comments


Created by: @udioica

640 active golfers, 2296 entries

Leaderboard (lowest score wins):
11
#331 - Sebastien Nicoud / @sebnukem

02/04/2019 at 01:33AM

11
#332 - hn9u / @hn9u

03/05/2019 at 02:14PM

11
#333 - Groovy / @groovy9

03/08/2019 at 04:21PM

11
#334 - Tyler k the science guy / @tyler_karpe

04/02/2019 at 07:56AM

11
#335 - Nick Yeow / @nickyeow

05/25/2019 at 07:18AM

11
#336 - Petru-Armand Bancila / @petruarmand

07/09/2019 at 08:40PM

11
#337 - Baine Wedlock / @BaineWedlock

09/24/2019 at 11:55AM

12
#338 - Nadav Spiegelman / @nadavspi

10/07/2014 at 10:48PM

12
#339 - Amit Verma / @amitv12

10/07/2014 at 11:23PM

12
#340 - Michael Foley / @m1foley

10/07/2014 at 11:57PM

12
#341 - Dezső Zoltán / @zakiazigazi

10/08/2014 at 02:01AM

12
#342 - Bart / @oneofmanybarts

10/08/2014 at 07:49AM

12
#343 - takashi / @k_takashi0309

10/08/2014 at 12:42PM

12
#344 - Jakob / @jajob

10/08/2014 at 07:23PM

12
#345 - Maxim / @HateLinux

10/09/2014 at 06:58AM

12
#346 - Carlos López / @morrizon

10/09/2014 at 10:59AM

12
#347 - Sergei Zhgirovski / @Ixanezis

10/10/2014 at 07:58PM

12
#348 - Alexandre Ignjatovic / @bankair

10/11/2014 at 02:06PM

12
#349 - Nic West / @west_nic

10/15/2014 at 02:04PM

12
#350 - Mitch LeBlanc / @symmitchry

10/19/2014 at 06:29AM

12
#351 - Raul James / @philojames

10/19/2014 at 07:44AM

12
#352 - Anton Geraschenko / @geraschenko

10/20/2014 at 11:55PM

12
#353 - R / @7vies

10/21/2014 at 03:43AM

12
#354 - Raval / @raval_js

10/21/2014 at 10:24PM

12
#355 - David / @daywiss

10/22/2014 at 03:48PM

12
#356 - Leandro Freitas / @freitass

10/22/2014 at 06:52PM

12
#357 - Dane Summers / @dsummersl

10/26/2014 at 06:24PM

12
#358 - Matt / @mcr05

11/03/2014 at 11:50AM

12
#359 - Harold Pong / @har2po

11/05/2014 at 10:43AM

12
#360 - Davit Samvelyan / @DavitSamvelyan

11/13/2014 at 12:26PM