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

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

166 active golfers, 1162 entries

Solutions by @RIshimoto:
20
#87 - Ryo_Ishimoto / @RIshimoto

03/04/2024 at 09:34AM

20
#>87 - Ryo_Ishimoto / @RIshimoto

03/06/2024 at 07:00AM

20
#>87 - Ryo_Ishimoto / @RIshimoto

03/06/2024 at 07:10AM

20
#>87 - Ryo_Ishimoto / @RIshimoto

03/09/2024 at 04:04AM

20
#>87 - Ryo_Ishimoto / @RIshimoto

03/09/2024 at 05:36AM

24
#>106 - Ryo_Ishimoto / @RIshimoto

03/04/2024 at 09:19AM

24
#>106 - Ryo_Ishimoto / @RIshimoto

03/09/2024 at 04:31AM

25
#>106 - Ryo_Ishimoto / @RIshimoto

03/09/2024 at 04:00AM

31
#>116 - Ryo_Ishimoto / @RIshimoto

03/04/2024 at 08:36AM

32
#>117 - Ryo_Ishimoto / @RIshimoto

03/04/2024 at 08:33AM

34
#>126 - Ryo_Ishimoto / @RIshimoto

03/04/2024 at 08:24AM