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 @michael-pruglo:

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

141 active golfers, 1012 entries

Solutions by @michael-pruglo:
17
#10 - Michael Pruglo / @michael-pruglo

02/09/2024 at 05:16PM

18
#>56 - Michael Pruglo / @michael-pruglo

02/09/2024 at 05:00PM

19
#>73 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:58PM

20
#>76 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:55PM

24
#>91 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:52PM

26
#>95 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:47PM

26
#>95 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:49PM

27
#>97 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:42PM

28
#>99 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:40PM

31
#>101 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:32PM

39
#>116 - Michael Pruglo / @michael-pruglo

02/09/2024 at 04:27PM

41
#>118 - Michael Pruglo / @michael-pruglo

02/09/2024 at 03:15PM

44
#>121 - Michael Pruglo / @michael-pruglo

02/09/2024 at 03:02PM