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 9v006628b86200000000026c

Morse

Translate Morse code to Text

Start file
.. / - .-. ..- ... - / -.-- --- ..- / .... .- ...- . -. - / - .-. .- -. ... .-.. .- - . -.. / .. - / -- .- -. ..- .- .-.. .-.. -.-- .-.-.- / - .... .- - ... / .--. .-. . -.-. .. ... . .-.. -.-- / .-- .... .- - / -.-. --- -- .--. ..- - . .-. ... / .- .-. . / ..-. --- .-. .-.-.- / -- .- -. ..- .- .-.. / - .-. .- -. ... .-.. .- - .. --- -. / .. ... / -.. .-. . .- -.. ..-. ..- .-.. .-.. -.-- / .. -. . ..-. ..-. .. -.-. .. . -. - / .- -. -.. / - .... .- - ... / .--. .-. . -.-. .. ... . .-.. -.-- / .-- .... -.-- / - .... .. ... / .--. .- ... ... .- --. . / .... .- ... / ... - .-. . - -.-. .... . -.. / --- -. / ... --- .-.-.-

morse code charts:
a .-
b -...
c -.-.
d -..
e .
f ..-.
g --.
h ....
i ..
j .---
k -.-
l .-..
m --
n -.
o ---
p .--.
q --.-
r .-.
s ...
t -
u ..-
v ...-
w .--
x -..-
y -.--
z --..
. .-.-.-
End file
i trust you havent translated it manually. thats precisely what computers are for. manual translation is dreadfully inefficient and thats precisely why this passage has stretched on so.

View Diff

1,30c1
< .. / - .-. ..- ... - / -.-- --- ..- / .... .- ...- . -. - / - .-. .- -. ... .-.. .- - . -.. / .. - / -- .- -. ..- .- .-.. .-.. -.-- .-.-.- / - .... .- - ... / .--. .-. . -.-. .. ... . .-.. -.-- / .-- .... .- - / -.-. --- -- .--. ..- - . .-. ... / .- .-. . / ..-. --- .-. .-.-.- / -- .- -. ..- .- .-.. / - .-. .- -. ... .-.. .- - .. --- -. / .. ... / -.. .-. . .- -.. ..-. ..- .-.. .-.. -.-- / .. -. . ..-. ..-. .. -.-. .. . -. - / .- -. -.. / - .... .- - ... / .--. .-. . -.-. .. ... . .-.. -.-- / .-- .... -.-- / - .... .. ... / .--. .- ... ... .- --. . / .... .- ... / ... - .-. . - -.-. .... . -.. / --- -. / ... --- .-.-.-
< 
< morse code charts:
< a .-
< b -...
< c -.-.
< d -..
< e .
< f ..-.
< g --.
< h ....
< i ..
< j .---
< k -.-
< l .-..
< m --
< n -.
< o ---
< p .--.
< q --.-
< r .-.
< s ...
< t -
< u ..-
< v ...-
< w .--
< x -..-
< y -.--
< z --..
< . .-.-.-
---
> i trust you havent translated it manually. thats precisely what computers are for. manual translation is dreadfully inefficient and thats precisely why this passage has stretched on so.

Solutions by @constap:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @maharba6

31 active golfers, 132 entries

Solutions by @constap:
71
#19 - constap / @constap

04/30/2024 at 02:58PM

87
#>20 - constap / @constap

04/25/2024 at 12:55AM

89
#>20 - constap / @constap

04/25/2024 at 12:32AM

89
#>20 - constap / @constap

04/25/2024 at 12:40AM

95
#>22 - constap / @constap

04/25/2024 at 12:15AM

105
#>24 - constap / @constap

04/24/2024 at 09:17PM

113
#>25 - constap / @constap

04/24/2024 at 09:07PM