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

657 active golfers, 2389 entries

Leaderboard (lowest score wins):
9
#211 - mkaminaga / @mkmng3

07/01/2019 at 06:27AM

9
#212 - Sebastian / @diasitede

10/05/2019 at 12:30PM

9
#213 - Viktor Styrud / @ViktorStyrud

10/10/2019 at 08:59AM

9
#214 - KlondikeBaer / @BaerKlondike

10/14/2019 at 09:32PM

9
#215 - vimgolfer / @vimgolfer7

10/15/2019 at 12:58AM

9
#216 - Mario Olofo / @mario_olofo

10/23/2019 at 03:18AM

9
#217 - Vladimir Leskov / @vladimirlesk

11/24/2019 at 06:01PM

9
#218 - David Barker / @dashleybarker

12/06/2019 at 10:28PM

9
#219 - James Casey / @hanavi

12/21/2019 at 11:03PM

9
#220 - Delon / @delonleonard

01/02/2020 at 01:39PM

9
#221 - Niklas Ydebäck / @Ydebaeck

03/22/2020 at 11:30PM

9
#222 - RaylanFox / @RaylanFox

04/15/2020 at 01:26PM

9
#223 - samet ぷ / @jssamet

04/30/2020 at 04:54PM

9
#224 - Kevin Keefe / @KevinKeefe5

05/14/2020 at 02:18AM

9
#225 - cyndiii-development / @cyndiiidevelop1

05/17/2020 at 02:15PM

9
#226 - Adam Hartz / @awareofnow

06/07/2020 at 12:39AM

10
#227 - Léo Ercolanelli / @ercolanellileo

11/30/2014 at 11:04PM

10
#228 - Dimitar Dimitrov / @kurkale6ka

03/09/2016 at 01:55PM

10
#229 - Bart Reynolds / @bartums

02/28/2018 at 02:29PM

10
#230 - Marcos Almeida / @almeidamarcos_

06/30/2018 at 03:54PM

10
#231 - Bobby Showalter / @bobbyshowalter

08/07/2018 at 06:59PM

10
#232 - Brendan B Amdocs / @AmdocsB

09/25/2018 at 03:54PM

10
#233 - Mihai / @mihaicristiant

12/04/2018 at 12:45PM

10
#234 - band / @band26376522

12/04/2018 at 11:38PM

10
#235 - 默罕默德 / @Rt6RjEAJ987Woes

01/22/2019 at 01:30PM

10
#236 - Alex Standke / @xanderstrike

01/25/2019 at 06:29PM

10
#237 - Kris Ezra / @kris_ezra

02/03/2019 at 09:03PM

10
#238 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 06:14AM

10
#239 - LUTZ Jean / @Croustibot

03/05/2019 at 02:15PM

10
#240 - ahm4711 / @ahm4711

03/07/2019 at 11:22PM