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):
15
#91 - basha / @bashaalex

08/15/2014 at 03:43PM

15
#92 - Vim Golfer / @golfing_vim

08/23/2014 at 01:11PM

15
#93 - Isaac / @elemental_1_1

08/24/2014 at 11:58AM

15
#94 - James / @Dronak

09/20/2014 at 07:03PM

15
#95 - Jan Novak / @odpadnimail

11/19/2014 at 02:15PM

15
#96 - Carlos A Henríquez Q / @lagunex

01/18/2015 at 03:30PM

15
#97 - TheProgrammer971 / @tp971

03/14/2015 at 02:44PM

15
#98 - Rolf / @liffon

04/28/2015 at 09:15PM

15
#99 - Lifepillar / @lifepillar

09/13/2015 at 07:24AM

15
#100 - Etienne Tremel / @etiennetremel

02/20/2016 at 09:01PM

15
#101 - Jacob Buete / @JBuete

07/17/2017 at 02:38PM

16
#102 - Seth Rader / @f4uLT

08/13/2014 at 11:25AM

16
#103 - farseer / @FarseerSee2012

08/13/2014 at 04:59PM

16
#104 - Phil Runninger / @PhilRunninger

08/13/2014 at 07:18PM

16
#105 - LC / @leeren

08/14/2014 at 12:32AM

16
#106 - Ram Tamtam / @ramtamtamtam

08/14/2014 at 11:51AM

16
#107 - Bambu / @bambumandinga

08/15/2014 at 03:22AM

16
#108 - Patrick Pitoscia / @Patrick03960431

08/16/2014 at 03:51PM

16
#109 - Tj / @yrddy

08/19/2014 at 02:04AM

16
#110 - wfdctrl / @wfdctrl

08/23/2014 at 07:24PM

16
#111 - Adam Milligan / @adammilligan

08/24/2014 at 01:09AM

16
#112 - Alexey Permyakov / @AlexeyPermyakov

08/24/2014 at 06:13AM

16
#113 - Guillaume Seren / @guillaumeseren

08/27/2014 at 11:41AM

16
#114 - jptomoya / @_jptomoya

10/17/2014 at 01:54PM

16
#115 - kungfuchad / @kungfuchad

10/28/2014 at 07:41PM

16
#116 - Erik Buček / @_EnterNameHere_

11/26/2014 at 03:12PM

16
#117 - Cody Reichert / @CodyReichert

01/19/2015 at 04:32AM

16
#118 - Walker Boh / @walker_boh

10/12/2015 at 09:33AM

16
#119 - Gerald Tilma / @GeraldTilma

10/20/2015 at 01:44AM

16
#120 - Olivier Bégassat / @zk_evm

06/14/2023 at 10:43PM