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

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

162 active golfers, 1141 entries

Solutions by @tien40766111:
18
#15 - tien / @tien40766111

10/15/2023 at 05:07PM

19
#>77 - tien / @tien40766111

10/15/2023 at 05:02PM

21
#>89 - tien / @tien40766111

10/15/2023 at 04:08PM

22
#>90 - tien / @tien40766111

10/15/2023 at 04:00PM

31
#>113 - tien / @tien40766111

10/15/2023 at 03:50PM

32
#>115 - tien / @tien40766111

10/15/2023 at 03:48PM

33
#>116 - tien / @tien40766111

10/15/2023 at 09:56AM

38
#>130 - tien / @tien40766111

10/14/2023 at 05:11PM