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 @DontBeAlarmed:

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

158 active golfers, 460 entries

Solutions by @DontBeAlarmed:
13
#58 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:38AM

14
#>89 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:37AM

15
#>101 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:37AM

16
#>120 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:37AM

17
#>138 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:36AM

18
#>146 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:36AM

19
#>153 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:31AM

19
#>153 - Don'tBeAlarmed / @DontBeAlarmed

05/31/2024 at 08:35AM