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

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

151 active golfers, 1085 entries

Solutions by @rike09:
18
#21 - Henrique Malheiro / @rike09

11/09/2023 at 02:57PM

19
#>75 - Henrique Malheiro / @rike09

11/09/2023 at 02:47PM

21
#>85 - Henrique Malheiro / @rike09

11/09/2023 at 02:43PM

22
#>87 - Henrique Malheiro / @rike09

11/09/2023 at 02:40PM

25
#>99 - Henrique Malheiro / @rike09

11/09/2023 at 02:39PM

27
#>102 - Henrique Malheiro / @rike09

11/09/2023 at 02:33PM

31
#>107 - Henrique Malheiro / @rike09

11/09/2023 at 02:32PM

33
#>112 - Henrique Malheiro / @rike09

11/09/2023 at 02:20PM

38
#>123 - Henrique Malheiro / @rike09

11/09/2023 at 02:16PM

77
#>144 - Henrique Malheiro / @rike09

11/09/2023 at 02:14PM

95
#>150 - Henrique Malheiro / @rike09

11/09/2023 at 02:09PM