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
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 161 remaining solutions by signing in and submitting your own entry
#162 Jan Scholz / @radikalliberal - Score: 123 - 10/17/24 @ 21:13
:%s/:\S*<Left><Left><Left><Left>.<Left>$<BS>^<Right><Right><Left><Left><Left>(<End>)<Left><Left><Left><Left><Left><Left><Left><Left><Right><Right><Right><Right><Right><Right><Right><Right><Right><Left><Left><Left><Left><Left><Left><Left><BS><End><BS>)<BS><Left><Left><Left><Left><Left><Left>\(<End>\)\ /\1 /<CR><Esc>ggf(<Left>:<Up><Left><BS><BS><BS><BS><BS><BS><BS><BS><BS><CR>:<Up><Left> <CR>f#<Left>x<Up><Up>dw<Up>.<Up>.<Up>.<Esc>ZZ
0 comments