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

685 active golfers, 2512 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

9
#227 - gandhiisback / @gandhiisback1

09/28/2020 at 06:43PM

9
#228 - hepebexè / @hepebexe

12/13/2020 at 01:51PM

9
#229 - roudens / @roudens2

12/16/2020 at 05:14PM

9
#230 - Ray Dennis / @raysden

01/05/2021 at 10:04PM

9
#231 - Jung Yeon Park / @park_jungy

01/08/2021 at 07:21PM

9
#232 - A A A / @37fatos

01/16/2021 at 01:10AM

9
#233 - Horst / @Horst91706815

01/21/2021 at 05:43PM

9
#234 - 김범준 / @kmbmjn

05/11/2021 at 05:31AM

9
#235 - Flimsy Giraffe / @flimsy_giraffe

11/28/2021 at 03:43PM

9
#236 - russellzhaomao / @russellzhaomao

05/26/2022 at 12:41AM

9
#237 - Janzen / @__Coos

09/17/2022 at 02:52PM

10
#238 - Léo Ercolanelli / @ercolanellileo

11/30/2014 at 11:04PM

10
#239 - Dimitar Dimitrov / @kurkale6ka

03/09/2016 at 01:55PM

10
#240 - Bart Reynolds / @bartums

02/28/2018 at 02:29PM