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 @TiOs-dev:

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

153 active golfers, 1099 entries

Solutions by @TiOs-dev:
18
#42 - TiOs-dev / @TiOs-dev

12/13/2023 at 12:24PM

19
#>75 - TiOs-dev / @TiOs-dev

12/13/2023 at 12:23PM

20
#>79 - TiOs-dev / @TiOs-dev

12/13/2023 at 12:21PM

22
#>88 - TiOs-dev / @TiOs-dev

12/13/2023 at 12:15PM

22
#>88 - TiOs-dev / @TiOs-dev

12/13/2023 at 12:17PM

26
#>101 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:46AM

27
#>104 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:35AM

27
#>104 - TiOs-dev / @TiOs-dev

12/13/2023 at 12:14PM

31
#>108 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:34AM

34
#>119 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:30AM

40
#>126 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:28AM

41
#>126 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:17AM

45
#>132 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:15AM

57
#>137 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:14AM

63
#>139 - TiOs-dev / @TiOs-dev

12/13/2023 at 11:04AM

64
#>140 - TiOs-dev / @TiOs-dev

12/11/2023 at 06:40PM