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

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

164 active golfers, 1158 entries

Solutions by @jonatasrafael:
18
#37 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 01:03PM

19
#>80 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 01:00PM

20
#>84 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:58PM

21
#>91 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:48PM

23
#>100 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:41PM

26
#>108 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:39PM

27
#>111 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:29PM

28
#>113 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:23PM

32
#>117 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 08:10PM

32
#>117 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

12/01/2023 at 12:21PM

33
#>123 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 08:01PM

34
#>126 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 08:00PM

39
#>132 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:59PM

52
#>143 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:59PM

53
#>143 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:57PM

69
#>151 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:54PM

73
#>155 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:43PM

74
#>155 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:42PM

76
#>155 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:40PM

82
#>158 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:30PM

90
#>159 - Jonatas Rafael Carneiro Ribeiro / @jonatasrafael

11/30/2023 at 07:13PM