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 54f6e85d8dca0315e1010de1

Logging with key

Sometimes it is better to log with meaningful key

Start file
window.nestedFormEvents.insertFields = (content, assoc, link) ->
  console.log content, assoc, link
End file
window.nestedFormEvents.insertFields = (content, assoc, link) ->
  console.log
    content: content
    assoc: assoc
    link: link

View Diff

2c2,5
<   console.log content, assoc, link
---
>   console.log
>     content: content
>     assoc: assoc
>     link: link

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 74 remaining solutions by signing in and submitting your own entry
#75 ɐʇnɥsɐpoʇ / @todashuta - Score: 57 - 03/25/15 @ 09:19
3/, <CR>cgn<CR><Esc>.2/ cont<CR>r<CR>yypjyypjyypnA:<Esc>JjA:<Esc>JjA:<Esc>Jn<C-V>2jI  <Esc>ZZ

0 comments


Created by: @yaachi

75 active golfers, 263 entries

Leaderboard (lowest score wins):
21
#1 - Urtica dioica / @udioica

03/04/2015 at 04:45PM

21
#2 - Matthew Pryor / @HodgekaGames

03/04/2015 at 06:28PM

21
#3 - John Braxler / @braxler

03/05/2015 at 05:05PM

21
#4 - Alan Berndt / @bentglasstube

03/05/2015 at 06:20PM

21
#5 - Petro Тrouq / @zulolosi

03/05/2015 at 09:55PM

21
#6 - Ala' Ibrahim / @alaa_ibrahim

03/05/2015 at 11:39PM

21
#7 - Augustin Trancart / @autra42

03/07/2015 at 02:26PM

21
#8 - kimber gonzalez / @kimberlycreates

03/10/2015 at 01:50PM

21
#9 - Andrew / @WK3AS

03/10/2015 at 03:21PM

21
#10 - Ricardo Lima / @ricponteslima

03/11/2015 at 05:08PM

21
#11 - Yann Moisan / @YannMoisan

03/15/2015 at 09:17AM

21
#12 - You Mustnotknow / @y8hVz6fJdm6Lt5q

04/03/2015 at 07:29PM

21
#13 - SIGHODL / @AssafLavie

04/17/2015 at 05:19PM

21
#14 - Andreas Carben / @meiner_eins

04/26/2015 at 12:20PM

21
#15 - Mutter Mumble / @muttermumble

07/10/2015 at 02:40PM

21
#16 - Mike Adams / @davis_cromwell

10/11/2015 at 02:26AM

21
#17 - Aleksey Zhidkov / @AlexeyZhidkov

03/09/2016 at 05:51AM

21
#18 - Foo Bar / @foobar01123

06/02/2016 at 07:45PM

21
#19 - Turkey Man / @lvturkeyman

11/26/2017 at 08:30AM

21
#20 - BarbaJol / @drpproteus

01/04/2018 at 01:24PM

21
#21 - Arijus / @argshook

03/22/2018 at 02:04PM

22
#22 - Mariano Macchi / @mmacchif

03/04/2015 at 04:21PM

22
#23 - Ben Plantinga / @benplantinga

03/05/2015 at 06:41AM

22
#24 - Dimitar Dimitrov / @kurkale6ka

03/17/2016 at 04:10PM

22
#25 - DHM / @DHM29978992

05/01/2018 at 01:31AM

23
#26 - Marcelo Montu / @_mMontu_

03/20/2015 at 02:06PM

23
#27 - Joonas Pihlajamaa / @jokkebk

03/26/2015 at 12:46PM

23
#28 - pftb12345 / @pftb12345

03/29/2015 at 12:47PM

23
#29 - YAMADA Yukimi / @edp02

03/30/2015 at 02:55PM

24
#30 - Carlos A Henríquez Q / @lagunex

03/04/2015 at 02:52PM