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

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

167 active golfers, 1175 entries

Solutions by @AshleyF:
20
#86 - AshleyF / @AshleyF

01/02/2024 at 08:45AM

20
#>86 - AshleyF / @AshleyF

01/02/2024 at 08:46AM

21
#>93 - AshleyF / @AshleyF

01/02/2024 at 08:43AM

26
#>109 - AshleyF / @AshleyF

01/02/2024 at 08:39AM

29
#>115 - AshleyF / @AshleyF

01/02/2024 at 08:32AM

31
#>116 - AshleyF / @AshleyF

01/02/2024 at 08:31AM

42
#>140 - AshleyF / @AshleyF

01/02/2024 at 08:31AM

61
#>148 - AshleyF / @AshleyF

01/02/2024 at 08:28AM

65
#>152 - AshleyF / @AshleyF

01/02/2024 at 08:27AM

69
#>153 - AshleyF / @AshleyF

01/02/2024 at 08:26AM

71
#>156 - AshleyF / @AshleyF

01/02/2024 at 08:22AM