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

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

164 active golfers, 1158 entries

Solutions by @epsilonshnepsilon:
18
#54 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:54PM

18
#>54 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 03:00PM

19
#>81 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:50PM

20
#>85 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:48PM

22
#>94 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:40PM

26
#>108 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:29PM

27
#>111 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:24PM

28
#>113 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:35PM

34
#>126 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:21PM

37
#>131 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:10PM

38
#>132 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 02:20PM

42
#>138 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 01:36PM

51
#>143 - epsilonshnepsilon / @epsilonshnepsilon

01/15/2024 at 01:32PM