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

654 active golfers, 2376 entries

Leaderboard (lowest score wins):
17
#601 - MGJoe93 / @mgjoe93

03/03/2019 at 06:00PM

17
#602 - Isaak Meier / @IsaakMeier

03/12/2019 at 04:51PM

17
#603 - Hans Lidiki / @HLidiki

09/07/2019 at 06:10PM

17
#604 - Jason / @roosjason

05/09/2020 at 09:33AM

18
#605 - Shizukesa / @Shizukesa

07/06/2015 at 10:49PM

18
#606 - Christopher Wells / @ExcaliburZero_Z

12/19/2015 at 02:41PM

18
#607 - Kairew / @Kairew1

01/23/2020 at 01:26PM

19
#608 - F Prades Illanes / @fprades

10/23/2014 at 10:53AM

19
#609 - Jan Novak / @odpadnimail

11/18/2014 at 11:46PM

19
#610 - Akira Sasaki / @hikomimo

11/20/2014 at 03:52AM

19
#611 - Edmundo Perez / @ingedmundo

12/03/2014 at 03:33PM

19
#612 - Rao Zvorovski / @RaoZvorovski

12/05/2014 at 11:07AM

19
#613 - luffy / @raxcoi

12/16/2014 at 09:48AM

19
#614 - Adam Redfern / @AdmRedfern

12/22/2014 at 04:31PM

19
#615 - きよ / @Mr_kiyo

12/31/2014 at 02:48AM

19
#616 - Yuan Guan / @yuanguan89

03/02/2015 at 05:47AM

19
#617 - Maxime / @Maxime_VII

06/23/2015 at 02:39PM

19
#618 - Mika .B / @Michael_Ben_Ali

09/11/2015 at 01:15PM

19
#619 - Eitan Burcat / @eburcat

05/11/2016 at 06:55PM

19
#620 - 白猫(zhu) / @cat2flower

06/04/2016 at 06:13PM

19
#621 - Ben Baker-Smith / @Bit_Synthesis

07/17/2016 at 06:08AM

19
#622 - Ryan van Rensburg / @rdvr001

07/21/2016 at 10:17AM

19
#623 - Pierre Stévens / @pierre_stv

11/04/2017 at 09:40AM

19
#624 - Floch Geoffrey / @floch_geoffrey

07/30/2018 at 12:06PM

19
#625 - Víctor López / @viticlick

08/23/2018 at 09:19AM

19
#626 - Eric Moss / @NotEricMoss

11/04/2018 at 09:58PM

19
#627 - Bumazhka / @Bumazhka

02/11/2019 at 07:42AM

19
#628 - T A / @SirAviles

02/11/2019 at 10:22PM

19
#629 - 黒澤亮二 / @rjkuro

03/25/2019 at 06:03PM

20
#630 - 木下 和巳@意識低い勢 / @warugaki_kazumi

10/20/2014 at 05:40AM