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

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

153 active golfers, 1099 entries

Solutions by @ericdobson:
18
#38 - Eric Dobson / @ericdobson

12/06/2023 at 08:03PM

19
#>75 - Eric Dobson / @ericdobson

12/06/2023 at 08:02PM

20
#>79 - Eric Dobson / @ericdobson

12/06/2023 at 08:01PM

21
#>85 - Eric Dobson / @ericdobson

12/06/2023 at 07:59PM

22
#>88 - Eric Dobson / @ericdobson

12/06/2023 at 07:56PM

24
#>94 - Eric Dobson / @ericdobson

12/06/2023 at 07:55PM

26
#>101 - Eric Dobson / @ericdobson

12/06/2023 at 07:50PM

27
#>104 - Eric Dobson / @ericdobson

12/06/2023 at 07:49PM

28
#>106 - Eric Dobson / @ericdobson

12/06/2023 at 07:49PM

32
#>110 - Eric Dobson / @ericdobson

12/06/2023 at 07:46PM

33
#>116 - Eric Dobson / @ericdobson

12/06/2023 at 07:42PM

34
#>119 - Eric Dobson / @ericdobson

12/06/2023 at 07:33PM

40
#>126 - Eric Dobson / @ericdobson

12/06/2023 at 07:31PM

43
#>132 - Eric Dobson / @ericdobson

12/06/2023 at 07:24PM

49
#>135 - Eric Dobson / @ericdobson

12/06/2023 at 07:19PM