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

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

158 active golfers, 460 entries

Solutions by @tomkpz:
14
#87 - Michel Viktor / @tomkpz

08/01/2021 at 04:49AM

15
#>101 - Michel Viktor / @tomkpz

08/01/2021 at 04:48AM

16
#>119 - Michel Viktor / @tomkpz

08/01/2021 at 04:47AM

17
#>138 - Michel Viktor / @tomkpz

08/01/2021 at 04:47AM

18
#>146 - Michel Viktor / @tomkpz

08/01/2021 at 04:47AM

19
#>152 - Michel Viktor / @tomkpz

08/01/2021 at 04:43AM

19
#>152 - Michel Viktor / @tomkpz

08/01/2021 at 04:46AM