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 by @nickandbro:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @f4uLT

158 active golfers, 460 entries

Solutions by @nickandbro:
13
#60 - nickGPT / @nickandbro

08/28/2024 at 05:31PM

14
#>89 - nickGPT / @nickandbro

08/28/2024 at 05:31PM

15
#>101 - nickGPT / @nickandbro

08/28/2024 at 05:31PM

16
#>120 - nickGPT / @nickandbro

08/28/2024 at 05:31PM

17
#>138 - nickGPT / @nickandbro

08/28/2024 at 05:30PM

18
#>146 - nickGPT / @nickandbro

08/28/2024 at 05:30PM

19
#>153 - nickGPT / @nickandbro

08/28/2024 at 05:30PM

20
#>155 - nickGPT / @nickandbro

08/28/2024 at 05:30PM

21
#>156 - nickGPT / @nickandbro

08/28/2024 at 05:30PM

22
#>157 - nickGPT / @nickandbro

08/28/2024 at 05:30PM

30
#>158 - nickGPT / @nickandbro

08/28/2024 at 05:30PM