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

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

28 active golfers, 125 entries

Solutions by @alythobani:
35
#9 - Aly Thobani / @alythobani

05/22/2024 at 07:51PM

36
#>10 - Aly Thobani / @alythobani

05/22/2024 at 08:06PM

37
#>10 - Aly Thobani / @alythobani

05/22/2024 at 08:09PM

39
#>11 - Aly Thobani / @alythobani

05/22/2024 at 07:32PM

41
#>11 - Aly Thobani / @alythobani

05/22/2024 at 07:32PM

71
#>17 - Aly Thobani / @alythobani

05/22/2024 at 07:20PM

72
#>17 - Aly Thobani / @alythobani

05/22/2024 at 07:16PM

72
#>17 - Aly Thobani / @alythobani

05/22/2024 at 07:18PM

79
#>17 - Aly Thobani / @alythobani

05/22/2024 at 07:07PM

276
#>27 - Aly Thobani / @alythobani

05/22/2024 at 06:49PM