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

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

161 active golfers, 1140 entries

Solutions by @DocsSorted:
18
#43 - DocsSorted / @DocsSorted

12/13/2023 at 10:23PM

19
#>77 - DocsSorted / @DocsSorted

12/13/2023 at 10:15PM

20
#>81 - DocsSorted / @DocsSorted

12/13/2023 at 10:09PM

21
#>88 - DocsSorted / @DocsSorted

12/13/2023 at 08:57PM

26
#>105 - DocsSorted / @DocsSorted

12/13/2023 at 08:53PM

27
#>108 - DocsSorted / @DocsSorted

12/13/2023 at 08:47PM

28
#>110 - DocsSorted / @DocsSorted

12/13/2023 at 08:34PM

30
#>111 - DocsSorted / @DocsSorted

12/13/2023 at 08:33PM

30
#>111 - DocsSorted / @DocsSorted

12/13/2023 at 08:44PM

32
#>114 - DocsSorted / @DocsSorted

12/13/2023 at 08:27PM

33
#>120 - DocsSorted / @DocsSorted

12/13/2023 at 08:22PM

36
#>127 - DocsSorted / @DocsSorted

12/13/2023 at 08:08PM

38
#>129 - DocsSorted / @DocsSorted

12/13/2023 at 08:04PM

48
#>139 - DocsSorted / @DocsSorted

12/13/2023 at 08:00PM

59
#>142 - DocsSorted / @DocsSorted

12/13/2023 at 07:44PM

75
#>152 - DocsSorted / @DocsSorted

12/13/2023 at 07:40PM