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

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

34 active golfers, 151 entries

Solutions by @PeppaPigSg:
31
#2 - Peppa Pig / @PeppaPigSg

07/09/2024 at 02:33PM

32
#>4 - Peppa Pig / @PeppaPigSg

04/29/2024 at 01:37AM

34
#>9 - Peppa Pig / @PeppaPigSg

04/25/2024 at 02:40AM

42
#>14 - Peppa Pig / @PeppaPigSg

04/25/2024 at 01:15AM

44
#>14 - Peppa Pig / @PeppaPigSg

04/25/2024 at 01:12AM

47
#>17 - Peppa Pig / @PeppaPigSg

04/25/2024 at 12:43AM

51
#>17 - Peppa Pig / @PeppaPigSg

04/25/2024 at 12:21AM

58
#>17 - Peppa Pig / @PeppaPigSg

04/24/2024 at 11:09PM

59
#>17 - Peppa Pig / @PeppaPigSg

04/24/2024 at 10:44PM

70
#>20 - Peppa Pig / @PeppaPigSg

04/24/2024 at 10:01PM