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):
12
#391 - Charlie OConor / @charlieoconor

10/30/2017 at 05:20PM

12
#392 - Elias Åström / @ryvnfn

12/27/2017 at 12:37AM

12
#393 - Mike Chen / @chagel

12/27/2017 at 02:30PM

12
#394 - c0llision / @sh3llcode

01/26/2018 at 08:04PM

12
#395 - ハヤシ / @0__098

07/24/2018 at 01:59PM

12
#396 - Bruce Adams / @bruceadams1054

10/13/2018 at 11:38AM

12
#397 - Phil Devitt / @GeneralHav0k

01/02/2019 at 04:05PM

12
#398 - Timothy Bryan / @tim_bryan

02/22/2019 at 11:32PM

12
#399 - zenwalker / @zenwalker93

03/09/2019 at 01:37PM

13
#400 - James / @Dronak

10/07/2014 at 11:05PM

13
#401 - Eric Kever / @codeoverlode

10/23/2014 at 09:59PM

13
#402 - Matthew Barrington / @mbarrin

10/27/2014 at 12:41AM

13
#403 - Jesse Morton / @Jesse_Motion

11/03/2014 at 11:44AM

13
#404 - PHCerdan / @PHCerdan

11/04/2014 at 03:17AM

13
#405 - Ilya Kolo / @Gray_Wind

11/04/2014 at 10:42AM

13
#406 - Xavier Goás A. / @xa4us

11/07/2014 at 09:09PM

13
#407 - AA / @stonewareslord

11/26/2014 at 08:10PM

13
#408 - kobby / @_kafdot_

12/09/2014 at 11:45AM

13
#409 - Steve Alison / @Steve_Alison

12/12/2014 at 11:37PM

13
#410 - David Barker / @dashleybarker

12/13/2014 at 04:23PM

13
#411 - Andrew Leung / @aleungpivotal

12/18/2014 at 05:35PM

13
#412 - Tact Overflow / @muppling

12/29/2014 at 04:13PM

13
#413 - David Wright / @David27Wright

01/08/2015 at 05:09PM

13
#414 - Kristijan Husak / @kristijan_husak

02/03/2015 at 08:14AM

13
#415 - Jacob / @0x604

02/08/2015 at 06:18PM

13
#416 - かっかる / @86ktcal

02/12/2015 at 07:17AM

13
#417 - Dmitry Zudochkin / @vredniy

02/18/2015 at 06:07AM

13
#418 - Deepak Surti / @dmsurti

03/16/2015 at 02:12PM

13
#419 - Arjan Molenaar / @ajmolenaar

03/30/2015 at 02:04PM

13
#420 - Adrien Fabre / @statox42

05/19/2015 at 08:33PM