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

613 active golfers, 2178 entries

Leaderboard (lowest score wins):
11
#301 - jakeroberts / @jakeroberts

05/20/2017 at 03:30PM

11
#302 - Florian Gauger / @FlorianGauger

06/03/2017 at 05:35AM

11
#303 - Carl Egbert / @CarlOEgbert

06/09/2017 at 11:19PM

11
#304 - Ezra Zigmond / @ezrazig

06/21/2017 at 08:58PM

11
#305 - Clement Keirua / @clemkeirua

08/30/2017 at 01:41PM

11
#306 - harpocrates744 / @harpocrates744

09/05/2017 at 10:14PM

11
#307 - Brian Hall / @_bruab_

10/04/2017 at 03:58PM

11
#308 - Jon Bakies / @jonbakies

10/05/2017 at 07:53PM

11
#309 - Saul Hardman / @saulhardman

12/01/2017 at 03:50PM

11
#310 - GreenPinguin / @GreenPinguin2

03/14/2018 at 10:44AM

11
#311 - DHM / @DHM29978992

04/15/2018 at 12:57AM

11
#312 - Jonathan Camilleri / @Too_Many_Taken

05/26/2018 at 12:48PM

11
#313 - 石奕心 / @allenshih1

06/07/2018 at 02:07AM

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

07/03/2018 at 02:17AM

11
#315 - Bruce Park / @bpark0

11/04/2018 at 11:15PM

11
#316 - Sebastien Nicoud / @sebnukem

02/04/2019 at 01:33AM

11
#317 - hn9u / @hn9u

03/05/2019 at 02:14PM

11
#318 - Groovy / @groovy9

03/08/2019 at 04:21PM

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

04/02/2019 at 07:56AM

11
#320 - Nick Yeow / @nickyeow

05/25/2019 at 07:18AM

11
#321 - Petru-Armand Bancila / @petruarmand

07/09/2019 at 08:40PM

12
#322 - Nadav Spiegelman / @nadavspi

10/07/2014 at 10:48PM

12
#323 - Amit Verma / @amitv12

10/07/2014 at 11:23PM

12
#324 - Michael Foley / @m1foley

10/07/2014 at 11:57PM

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

10/08/2014 at 02:01AM

12
#326 - Bart / @oneofmanybarts

10/08/2014 at 07:49AM

12
#327 - takashi / @k_takashi0309

10/08/2014 at 12:42PM

12
#328 - Jakob / @jajob

10/08/2014 at 07:23PM

12
#329 - Maxim / @HateLinux

10/09/2014 at 06:58AM

12
#330 - Carlos López / @morrizon

10/09/2014 at 10:59AM