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

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

164 active golfers, 1158 entries

Solutions by @MiterMe:
18
#68 - Miter / @MiterMe

04/05/2024 at 01:51AM

19
#>82 - Miter / @MiterMe

04/05/2024 at 01:49AM

20
#>87 - Miter / @MiterMe

04/05/2024 at 01:46AM

21
#>92 - Miter / @MiterMe

04/05/2024 at 01:39AM

24
#>106 - Miter / @MiterMe

04/05/2024 at 01:31AM

30
#>115 - Miter / @MiterMe

04/05/2024 at 01:18AM

31
#>116 - Miter / @MiterMe

04/05/2024 at 01:11AM

32
#>118 - Miter / @MiterMe

04/04/2024 at 05:05PM

32
#>118 - Miter / @MiterMe

04/05/2024 at 01:08AM

33
#>124 - Miter / @MiterMe

04/04/2024 at 04:57PM

35
#>129 - Miter / @MiterMe

04/04/2024 at 04:51PM

40
#>133 - Miter / @MiterMe

04/04/2024 at 04:27PM

40
#>133 - Miter / @MiterMe

04/04/2024 at 04:45PM

47
#>141 - Miter / @MiterMe

04/04/2024 at 04:34PM

55
#>144 - Miter / @MiterMe

04/04/2024 at 04:23PM

87
#>159 - Miter / @MiterMe

04/04/2024 at 04:19PM

125
#>164 - Miter / @MiterMe

04/04/2024 at 04:08PM