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):
11
#271 - tgmeng / @lazy_fabric

06/10/2016 at 03:12AM

11
#272 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 02:47PM

11
#273 - Santiclause / @Santiclause

10/28/2016 at 09:40PM

11
#274 - Bill Ruddock / @biinari

10/31/2016 at 03:47AM

11
#275 - timerella® / @timerella

11/17/2016 at 10:25PM

11
#276 - Zhihong Liu / @pieapple03

02/14/2017 at 12:37AM

11
#277 - vasco s otsuka / @vascoosx

02/17/2017 at 09:52AM

11
#278 - jack / @jack28887741

02/24/2017 at 09:59AM

11
#279 - xwle / @xwle

03/15/2017 at 07:37AM

11
#280 - Alexander Bessonov / @nonsleepr

03/15/2017 at 08:38PM

11
#281 - Daniel / @Daniel00288663

03/17/2017 at 01:01PM

11
#282 - jakeroberts / @jakeroberts

05/20/2017 at 03:30PM

11
#283 - Florian Gauger / @FlorianGauger

06/03/2017 at 05:35AM

11
#284 - Carl Egbert / @CarlOEgbert

06/09/2017 at 11:19PM

11
#285 - Ezra Zigmond / @ezrazig

06/21/2017 at 08:58PM

11
#286 - Clement Keirua / @clemkeirua

08/30/2017 at 01:41PM

11
#287 - harpocrates744 / @harpocrates744

09/05/2017 at 10:14PM

11
#288 - Brian Hall / @_bruab_

10/04/2017 at 03:58PM

11
#289 - Jon Bakies / @jonbakies

10/05/2017 at 07:53PM

11
#290 - Saul Hardman / @saulhardman

12/01/2017 at 03:50PM

11
#291 - GreenPinguin / @GreenPinguin2

03/14/2018 at 10:44AM

11
#292 - DHM / @DHM29978992

04/15/2018 at 12:57AM

11
#293 - Jonathan Camilleri / @Too_Many_Taken

05/26/2018 at 12:48PM

11
#294 - 石奕心 / @allenshih1

06/07/2018 at 02:07AM

11
#295 - 赤佐田奈葉 / @akasatanaha_

07/03/2018 at 02:17AM

11
#296 - Bruce Park / @bpark0

11/04/2018 at 11:15PM

11
#297 - Sebastien Nicoud / @sebnukem

02/04/2019 at 01:33AM

11
#298 - hn9u / @hn9u

03/05/2019 at 02:14PM

11
#299 - Groovy / @groovy9

03/08/2019 at 04:21PM

12
#300 - Nadav Spiegelman / @nadavspi

10/07/2014 at 10:48PM