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

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

141 active golfers, 1012 entries

Solutions by @leonkatsnelson:
18
#23 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 08:17PM

19
#>71 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 08:15PM

20
#>75 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 08:14PM

20
#>78 - Leon Katsnelson / @leonkatsnelson

03/24/2024 at 07:07PM

22
#>82 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 08:12PM

27
#>96 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 08:06PM

28
#>98 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 08:03PM

29
#>99 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 07:59PM

40
#>116 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 07:51PM

62
#>126 - Leon Katsnelson / @leonkatsnelson

11/15/2023 at 07:48PM