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

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

167 active golfers, 1175 entries

Solutions by @jrobertson20:
17
#7 - Joey / @jrobertson20

12/03/2023 at 10:28PM

18
#>37 - Joey / @jrobertson20

12/03/2023 at 10:17PM

19
#>81 - Joey / @jrobertson20

12/03/2023 at 10:14PM

20
#>85 - Joey / @jrobertson20

12/03/2023 at 10:11PM

21
#>92 - Joey / @jrobertson20

12/03/2023 at 10:07PM

26
#>109 - Joey / @jrobertson20

12/03/2023 at 10:04PM

27
#>112 - Joey / @jrobertson20

12/03/2023 at 10:02PM

28
#>114 - Joey / @jrobertson20

12/03/2023 at 10:00PM

32
#>118 - Joey / @jrobertson20

12/03/2023 at 09:59PM

33
#>124 - Joey / @jrobertson20

12/03/2023 at 06:41AM

33
#>124 - Joey / @jrobertson20

12/03/2023 at 06:59AM

34
#>127 - Joey / @jrobertson20

12/03/2023 at 06:37AM

36
#>132 - Joey / @jrobertson20

12/03/2023 at 06:36AM

41
#>135 - Joey / @jrobertson20

12/03/2023 at 06:35AM

44
#>142 - Joey / @jrobertson20

12/03/2023 at 06:31AM

85
#>162 - Joey / @jrobertson20

12/03/2023 at 06:29AM