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

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

153 active golfers, 1099 entries

Solutions by @ydbB:
24
#97 - ydbB / @ydbB

01/28/2024 at 04:59PM

26
#>101 - ydbB / @ydbB

01/28/2024 at 04:55PM

27
#>104 - ydbB / @ydbB

01/28/2024 at 04:53PM

28
#>107 - ydbB / @ydbB

01/28/2024 at 04:52PM

30
#>108 - ydbB / @ydbB

01/28/2024 at 04:49PM

31
#>109 - ydbB / @ydbB

01/28/2024 at 04:43PM

32
#>110 - ydbB / @ydbB

01/28/2024 at 04:36PM

33
#>116 - ydbB / @ydbB

01/28/2024 at 04:27PM

34
#>119 - ydbB / @ydbB

01/28/2024 at 04:23PM

35
#>122 - ydbB / @ydbB

01/28/2024 at 04:21PM

37
#>124 - ydbB / @ydbB

01/28/2024 at 04:09PM

38
#>125 - ydbB / @ydbB

01/28/2024 at 04:17PM

38
#>125 - ydbB / @ydbB

01/28/2024 at 04:19PM

41
#>127 - ydbB / @ydbB

01/28/2024 at 04:08PM

49
#>135 - ydbB / @ydbB

01/28/2024 at 04:05PM

53
#>135 - ydbB / @ydbB

01/28/2024 at 04:00PM

69
#>142 - ydbB / @ydbB

01/28/2024 at 03:54PM

79
#>147 - ydbB / @ydbB

01/28/2024 at 03:12PM