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

578 active golfers, 1992 entries

Leaderboard (lowest score wins):
9
#181 - fucus / @fishlovebanana

08/10/2018 at 02:50AM

9
#182 - _Tpouhuk / @Tpouhuk2

08/11/2018 at 05:44PM

9
#183 - Zach Johnson / @zachjohnsondev

08/16/2018 at 02:04PM

9
#184 - Hugo / @szeyattai

08/20/2018 at 02:43AM

9
#185 - Jeff / @sir_wiggles3

09/09/2018 at 05:53AM

9
#186 - Turkey Man / @lvturkeyman

09/27/2018 at 08:01AM

9
#187 - Rasmus Bergström / @JRasmusBm

09/29/2018 at 07:38AM

9
#188 - Benjamin Kiesl / @BenjaminKiesl

10/20/2018 at 11:51AM

9
#189 - vg / @vg53210350

10/28/2018 at 07:18PM

9
#190 - Dax / @zacoxi

11/09/2018 at 04:56AM

9
#191 - name / @name65894813

11/19/2018 at 03:44PM

9
#192 - PJ Frazer / @pj_frazer

11/23/2018 at 09:31PM

9
#193 - churaki / @churaki

01/30/2019 at 08:22AM

9
#194 - Patrick Lavin / @LavinComputes

01/30/2019 at 09:19PM

9
#195 - Tinko Minko / @tandikula

02/01/2019 at 06:38PM

9
#196 - Henrique Malheiro / @rike09

02/06/2019 at 12:42AM

9
#197 - Titouan Teyssier / @TitouanT_

03/02/2019 at 01:06PM

9
#198 - ثامر / @julienborghetti

03/09/2019 at 05:24PM

10
#199 - Léo Ercolanelli / @ercolanellileo

11/30/2014 at 11:04PM

10
#200 - Dimitar Dimitrov / @kurkale6ka

03/09/2016 at 01:55PM

10
#201 - Bart Reynolds / @bartums

02/28/2018 at 02:29PM

10
#202 - Marcos Almeida / @almeidamarcos_

06/30/2018 at 03:54PM

10
#203 - Bobby Showalter / @bobbyshowalter

08/07/2018 at 06:59PM

10
#204 - Brendan B Amdocs / @AmdocsB

09/25/2018 at 03:54PM

10
#205 - Mihai / @mihaicristiant

12/04/2018 at 12:45PM

10
#206 - band / @band26376522

12/04/2018 at 11:38PM

10
#207 - 默罕默德 / @Rt6RjEAJ987Woes

01/22/2019 at 01:30PM

10
#208 - Alex Standke / @xanderstrike

01/25/2019 at 06:29PM

10
#209 - Kris Ezra / @kris_ezra

02/03/2019 at 09:03PM

10
#210 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 06:14AM