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

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

164 active golfers, 1158 entries

Solutions by @insomnight:
17
#12 - got_windy / @insomnight

11/22/2024 at 09:11AM

18
#>77 - got_windy / @insomnight

11/22/2024 at 06:50AM

19
#>82 - got_windy / @insomnight

11/22/2024 at 06:50AM

20
#>89 - got_windy / @insomnight

11/22/2024 at 06:48AM

22
#>97 - got_windy / @insomnight

11/22/2024 at 06:45AM

24
#>106 - got_windy / @insomnight

11/22/2024 at 06:43AM

26
#>109 - got_windy / @insomnight

11/22/2024 at 06:42AM

27
#>112 - got_windy / @insomnight

11/22/2024 at 06:41AM

30
#>115 - got_windy / @insomnight

11/22/2024 at 06:40AM

31
#>116 - got_windy / @insomnight

11/22/2024 at 06:38AM

34
#>127 - got_windy / @insomnight

11/22/2024 at 06:37AM

40
#>133 - got_windy / @insomnight

11/22/2024 at 06:36AM

41
#>138 - got_windy / @insomnight

11/22/2024 at 06:33AM

42
#>139 - got_windy / @insomnight

11/22/2024 at 06:34AM