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 53eb4ac3f690b50002f871b6

Lisp Condense

Reduce 4 cons selection operations down to one function call.

Start file
(print (car (car (cdr (car list)))))
End file
(print (caadar list))

View Diff

1c1
< (print (car (car (cdr (car list)))))
---
> (print (caadar list))

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 157 remaining solutions by signing in and submitting your own entry
#158 Jurica / @Jurica34581259 - Score: 30 - 12/05/18 @ 03:07
wwwwvwwwwwwhdhhiada<Esc>/))<CR>lld$ZZ

0 comments


Created by: @f4uLT

158 active golfers, 460 entries

Leaderboard (lowest score wins):
19
#151 - ɐʇnɥsɐpoʇ / @todashuta

03/25/2015 at 01:54PM

19
#152 - vgmct / @vgmct

04/26/2015 at 04:20AM

19
#153 - Lily / @totallyuniquelily

05/20/2024 at 09:32AM

20
#154 - Oliver Christ / @0liverChrist

08/23/2014 at 10:26PM

20
#155 - Alex / @AlexanderHeatl2

07/05/2022 at 06:16PM

21
#156 - Will / @obiwan__k3n00bi

09/03/2016 at 06:44AM

22
#157 - Aaron Fortune / @aaron_fortune

09/20/2015 at 03:55AM

30
#158 - Jurica / @Jurica34581259

12/05/2018 at 03:07AM