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 9v006519507c00000000025a

EDN reformat

The goal is to make the code more readable and concise while maintaining its functionality.

Start file
{:item (get-item)
 :other-items (get-other-items)
 :prev-item :none
 :next-item :none
 :template-name "default"
 :inst #inst "2023-01-01T22:00:00-00:00"
 :ident #uuid "6241d2fa-6048-11ee-8c99-0242ac120002"}}
End file
{:item           (get-item)
 :other-items    (get-other-items)
 :prev-item      :none
 :next-item      :none
 :template-name  "default"
 :inst           #inst "2023-01-01T22:00:00-00:00"
 :ident          #uuid "6241d2fa-6048-11ee-8c99-0242ac120002"}}

View Diff

1,7c1,7
< {:item (get-item)
<  :other-items (get-other-items)
<  :prev-item :none
<  :next-item :none
<  :template-name "default"
<  :inst #inst "2023-01-01T22:00:00-00:00"
<  :ident #uuid "6241d2fa-6048-11ee-8c99-0242ac120002"}}
---
> {:item           (get-item)
>  :other-items    (get-other-items)
>  :prev-item      :none
>  :next-item      :none
>  :template-name  "default"
>  :inst           #inst "2023-01-01T22:00:00-00:00"
>  :ident          #uuid "6241d2fa-6048-11ee-8c99-0242ac120002"}}

Solutions by @ttl0:

Unlock 12 remaining solutions by signing in and submitting your own entry
Created by: @Somin13

164 active golfers, 1158 entries

Solutions by @ttl0:
32
#118 - ttl0 / @ttl0

03/16/2024 at 08:07PM

33
#>124 - ttl0 / @ttl0

03/16/2024 at 08:04PM

34
#>126 - ttl0 / @ttl0

03/16/2024 at 08:02PM

35
#>129 - ttl0 / @ttl0

03/16/2024 at 08:01PM

40
#>133 - ttl0 / @ttl0

03/16/2024 at 07:59PM

41
#>134 - ttl0 / @ttl0

03/16/2024 at 07:58PM

45
#>140 - ttl0 / @ttl0

03/16/2024 at 07:54PM

47
#>141 - ttl0 / @ttl0

03/16/2024 at 07:53PM

71
#>154 - ttl0 / @ttl0

03/16/2024 at 07:36PM

81
#>157 - ttl0 / @ttl0

03/16/2024 at 07:30PM

81
#>157 - ttl0 / @ttl0

03/16/2024 at 07:33PM

86
#>159 - ttl0 / @ttl0

03/16/2024 at 07:29PM