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 @winter-loo:

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

38 active golfers, 204 entries

Solutions by @winter-loo:
35
#14 - winter-loo / @winter-loo

11/09/2026 at 09:51PM

37
#>14 - winter-loo / @winter-loo

11/09/2026 at 09:49PM

37
#>14 - winter-loo / @winter-loo

11/10/2026 at 07:19AM

38
#>15 - winter-loo / @winter-loo

11/09/2026 at 09:48PM

42
#>16 - winter-loo / @winter-loo

11/09/2026 at 09:47PM

44
#>17 - winter-loo / @winter-loo

11/09/2026 at 09:46PM

45
#>18 - winter-loo / @winter-loo

11/09/2026 at 09:46PM

46
#>19 - winter-loo / @winter-loo

11/09/2026 at 09:45PM

61
#>20 - winter-loo / @winter-loo

11/09/2026 at 09:44PM

63
#>21 - winter-loo / @winter-loo

11/09/2026 at 09:43PM

69
#>22 - winter-loo / @winter-loo

11/09/2026 at 09:42PM

71
#>23 - winter-loo / @winter-loo

11/09/2026 at 09:41PM

73
#>23 - winter-loo / @winter-loo

11/09/2026 at 09:38PM

74
#>23 - winter-loo / @winter-loo

11/09/2026 at 09:36PM

75
#>23 - winter-loo / @winter-loo

11/09/2026 at 08:34PM

77
#>24 - winter-loo / @winter-loo

11/09/2026 at 08:30PM

78
#>24 - winter-loo / @winter-loo

11/09/2026 at 08:27PM

81
#>25 - winter-loo / @winter-loo

11/09/2026 at 08:20PM

90
#>27 - winter-loo / @winter-loo

11/09/2026 at 08:14PM

92
#>28 - winter-loo / @winter-loo

11/09/2026 at 08:12PM

97
#>29 - winter-loo / @winter-loo

11/09/2026 at 08:11PM

100
#>30 - winter-loo / @winter-loo

11/09/2026 at 08:10PM

108
#>30 - winter-loo / @winter-loo

11/09/2026 at 08:07PM