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

664 active golfers, 2411 entries

Leaderboard (lowest score wins):
10
#241 - ahm4711 / @ahm4711

03/07/2019 at 11:22PM

10
#242 - tenteke / @kuskus3

03/14/2019 at 03:09PM

10
#243 - Scott / @chil2

04/02/2019 at 03:19AM

10
#244 - wanghbxxxx / @wanghbxxxx

04/08/2019 at 01:47AM

10
#245 - Arno / @arnoxmp

05/09/2019 at 07:46AM

10
#246 - ARK / @ARK69712394

05/12/2019 at 08:34PM

10
#247 - Erik Lindeborg / @ErikLindeborg

06/08/2019 at 11:43AM

10
#248 - Chester Yap / @Chest_ErYap

07/14/2019 at 07:50PM

10
#249 - vana / @vana15129217

07/22/2019 at 09:33AM

10
#250 - sooqua / @sooqua

08/09/2019 at 04:00AM

10
#251 - Wistan Chou / @wisty97

08/15/2019 at 04:58PM

10
#252 - Lory / @Lory46845742

11/08/2019 at 02:50PM

10
#253 - 임덕윤 / @SnLHUF5ZYJXqI1m

01/04/2020 at 12:41AM

10
#254 - Jason Neylon / @jasonneylon

02/15/2020 at 08:15AM

10
#255 - countime / @countime1

03/12/2020 at 11:04AM

10
#256 - floyd / @floyd10086

03/24/2020 at 05:00AM

10
#257 - eshel / @EshelBM

03/29/2020 at 07:22PM

10
#258 - Fnord Everywhere / @FnordE

05/14/2020 at 08:48AM

10
#259 - Bhagwan / @El_Bhagwan

05/14/2020 at 10:28PM

10
#260 - 于吉星 / @fishermryn

05/28/2020 at 09:28AM

10
#261 - Ming Dai / @MingDai2

06/30/2020 at 10:13PM

10
#262 - Ebi / @ehan6

07/09/2020 at 07:53PM

11
#263 - Caek / @Caek_

10/08/2014 at 02:29AM

11
#264 - Eduardo / @earada

10/09/2014 at 07:09AM

11
#265 - mnx / @mnxx

10/09/2014 at 07:38AM

11
#266 - Pierre Bertet / @bpierre

10/10/2014 at 07:29PM

11
#267 - Jose Gutierrez / @Jogusa

10/12/2014 at 01:14PM

11
#268 - E Both / @enboth

10/13/2014 at 09:29AM

11
#269 - Will / @VVi11_I_AM

10/14/2014 at 02:07AM

11
#270 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:24AM