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):
9
#211 - mkaminaga / @mkmng3

07/01/2019 at 06:27AM

10
#212 - Léo Ercolanelli / @ercolanellileo

11/30/2014 at 11:04PM

10
#213 - Dimitar Dimitrov / @kurkale6ka

03/09/2016 at 01:55PM

10
#214 - Bart Reynolds / @bartums

02/28/2018 at 02:29PM

10
#215 - Marcos Almeida / @almeidamarcos_

06/30/2018 at 03:54PM

10
#216 - Bobby Showalter / @bobbyshowalter

08/07/2018 at 06:59PM

10
#217 - Brendan B Amdocs / @AmdocsB

09/25/2018 at 03:54PM

10
#218 - Mihai / @mihaicristiant

12/04/2018 at 12:45PM

10
#219 - band / @band26376522

12/04/2018 at 11:38PM

10
#220 - 默罕默德 / @Rt6RjEAJ987Woes

01/22/2019 at 01:30PM

10
#221 - Alex Standke / @xanderstrike

01/25/2019 at 06:29PM

10
#222 - Kris Ezra / @kris_ezra

02/03/2019 at 09:03PM

10
#223 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 06:14AM

10
#224 - LUTZ Jean / @Croustibot

03/05/2019 at 02:15PM

10
#225 - ahm4711 / @ahm4711

03/07/2019 at 11:22PM

10
#226 - tenteke / @kuskus3

03/14/2019 at 03:09PM

10
#227 - Scott / @chil2

04/02/2019 at 03:19AM

10
#228 - wanghbxxxx / @wanghbxxxx

04/08/2019 at 01:47AM

10
#229 - Arno / @arnoxmp

05/09/2019 at 07:46AM

10
#230 - ARK / @ARK69712394

05/12/2019 at 08:34PM

10
#231 - Erik Lindeborg / @ErikLindeborg

06/08/2019 at 11:43AM

10
#232 - Chester Yap / @Chest_ErYap

07/14/2019 at 07:50PM

11
#233 - Caek / @Caek_

10/08/2014 at 02:29AM

11
#234 - Eduardo / @earada

10/09/2014 at 07:09AM

11
#235 - mnx / @mnxx

10/09/2014 at 07:38AM

11
#236 - Pierre Bertet / @bpierre

10/10/2014 at 07:29PM

11
#237 - Jose Gutierrez / @Jogusa

10/12/2014 at 01:14PM

11
#238 - E Both / @enboth

10/13/2014 at 09:29AM

11
#239 - Will / @VVi11_I_AM

10/14/2014 at 02:07AM

11
#240 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:24AM