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

675 active golfers, 2467 entries

Leaderboard (lowest score wins):
11
#331 - Bill Ruddock / @biinari

10/31/2016 at 03:47AM

11
#332 - timerella® / @timerella

11/17/2016 at 10:25PM

11
#333 - Zhihong Liu / @pieapple03

02/14/2017 at 12:37AM

11
#334 - vasco s otsuka / @vascoosx

02/17/2017 at 09:52AM

11
#335 - jack / @jack28887741

02/24/2017 at 09:59AM

11
#336 - xwle / @xwle

03/15/2017 at 07:37AM

11
#337 - Alexander Bessonov / @nonsleepr

03/15/2017 at 08:38PM

11
#338 - Daniel / @Daniel00288663

03/17/2017 at 01:01PM

11
#339 - jakeroberts / @jakeroberts

05/20/2017 at 03:30PM

11
#340 - Florian Gauger / @FlorianGauger

06/03/2017 at 05:35AM

11
#341 - Carl Egbert / @CarlOEgbert

06/09/2017 at 11:19PM

11
#342 - Ezra Zigmond / @ezrazig

06/21/2017 at 08:58PM

11
#343 - Clement Keirua / @clemkeirua

08/30/2017 at 01:41PM

11
#344 - harpocrates744 / @harpocrates744

09/05/2017 at 10:14PM

11
#345 - Brian Hall / @_bruab_

10/04/2017 at 03:58PM

11
#346 - Jon Bakies / @jonbakies

10/05/2017 at 07:53PM

11
#347 - Saul Hardman / @saulhardman

12/01/2017 at 03:50PM

11
#348 - GreenPinguin / @GreenPinguin2

03/14/2018 at 10:44AM

11
#349 - DHM / @DHM29978992

04/15/2018 at 12:57AM

11
#350 - Jonathan Camilleri / @Too_Many_Taken

05/26/2018 at 12:48PM

11
#351 - 石奕心 / @allenshih1

06/07/2018 at 02:07AM

11
#352 - 赤佐田奈葉 / @akasatanaha_

07/03/2018 at 02:17AM

11
#353 - Bruce Park / @bpark0

11/04/2018 at 11:15PM

11
#354 - Sebastien Nicoud / @sebnukem

02/04/2019 at 01:33AM

11
#355 - hn9u / @hn9u

03/05/2019 at 02:14PM

11
#356 - Groovy / @groovy9

03/08/2019 at 04:21PM

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

04/02/2019 at 07:56AM

11
#358 - Nick Yeow / @nickyeow

05/25/2019 at 07:18AM

11
#359 - Petru-Armand Bancila / @petruarmand

07/09/2019 at 08:40PM

11
#360 - Baine Wedlock / @BaineWedlock

09/24/2019 at 11:55AM