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

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

34 active golfers, 151 entries

Solutions by @Berel94:
31
#3 - Berel94 / @Berel94

11/06/2024 at 09:38PM

32
#>7 - Berel94 / @Berel94

11/06/2024 at 09:35PM

33
#>9 - Berel94 / @Berel94

11/06/2024 at 09:33PM

35
#>11 - Berel94 / @Berel94

11/06/2024 at 09:32PM

38
#>13 - Berel94 / @Berel94

11/06/2024 at 09:28PM

42
#>14 - Berel94 / @Berel94

11/06/2024 at 09:24PM

44
#>15 - Berel94 / @Berel94

11/06/2024 at 09:20PM

45
#>16 - Berel94 / @Berel94

11/06/2024 at 09:16PM

46
#>17 - Berel94 / @Berel94

11/06/2024 at 09:10PM

49
#>17 - Berel94 / @Berel94

11/06/2024 at 08:38PM