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 50d8b2039d73b70002000046

Greek Letters

Starting with a list of Greek letters, create a cross-reference table showing all of the Greek alpha-beta. You'll likely need to use digraphs (:help digraphs). Note that while most digraphs can be entered with either character first, lowercase sigma has two digraphs -- s* AND *s! Good luck!

Start file
alpha
beta
gamma
delta
epsilon
zeta
eta
theta
iota
kappa
lambda
mu
nu
ksi
omicron
pi
rho
sigma
tau
upsilon
phї
chi
psi
omega
End file
Α α   alpha
Β β   beta
Γ γ   gamma
Δ δ   delta
Ε ε   epsilon
Ζ ζ   zeta
Η η   eta
Θ θ   theta
Ι ι   iota
Κ κ   kappa
Λ λ   lambda
Μ μ   mu
Ν ν   nu
Ξ ξ   ksi
Ο ο   omicron
Π π   pi
Ρ ρ   rho
Σ σς  sigma
Τ τ   tau
Υ υ   upsilon
Φ φ   phї
Χ χ   chi
Ψ ψ   psi
Ω ω   omega

View Diff

1,24c1,24
< alpha
< beta
< gamma
< delta
< epsilon
< zeta
< eta
< theta
< iota
< kappa
< lambda
< mu
< nu
< ksi
< omicron
< pi
< rho
< sigma
< tau
< upsilon
< phї
< chi
< psi
< omega
---
> Α α   alpha
> Β β   beta
> Γ γ   gamma
> Δ δ   delta
> Ε ε   epsilon
> Ζ ζ   zeta
> Η η   eta
> Θ θ   theta
> Ι ι   iota
> Κ κ   kappa
> Λ λ   lambda
> Μ μ   mu
> Ν ν   nu
> Ξ ξ   ksi
> Ο ο   omicron
> Π π   pi
> Ρ ρ   rho
> Σ σς  sigma
> Τ τ   tau
> Υ υ   upsilon
> Φ φ   phї
> Χ χ   chi
> Ψ ψ   psi
> Ω ω   omega

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 14 remaining solutions by signing in and submitting your own entry
#15 Ian Liu Rodrigues / ianliu88 - Score: 137 - 01/16/14 @ 12:57
2I<C-K>a* <Esc>0~<Esc><Esc>uu<C-V>)I   <Esc>:set keymap=greek<CR>ia<Down><Left>b<Down><Left>g<Down><Left>d<Down><Left>e<Down><Left>z<Down><Left>h<Down><Left>u<Down><Left>i<Down><Left>k<Down><Left>l<Down><Left>m<Down><Left>n<Down><Left>j<Down><Left>o<Down><Left>p<Down><Left>r<Down><Left>s<Down><Left><Up><Right><C-K>*s<Del><Down><Left><Left>t<Down><Left>y<Down><Left>f<Down><Left>x<Down><Left>c<Down><Left>v<Esc><C-V>ggyP<C-V>G~l<C-V>GlI <Esc><Esc>ZZ

0 comments

#16 Eduardo Diaz / iamedu - Score: 170 - 03/05/13 @ 12:08
<C-V>)I   <Esc>:set keymap=greek<CR>ia<Down><Left>b<Down><Left>g<Down><Left>d<Down><Left>e<Down><Left>z<Down><Left>h<Down><Left>u<Down><Left>i<Down><Left>k<Down><Left>l<Down><Left>m<Down><Left>n<Down><Left>j<Down><Left>o<Down><Left>p<Down><Left>r<Down><Left>s<C-K>*s<Del><Down><Left><Left>t<Down><Left>y<Down><Left>f<Down><Left>x<Down><Left>c<Down><Left>v<Esc>ggqqyli <Esc>:call setreg('""', toupper(getreg('""')))<CR>Pq:2,24norm @q<CR>ZZ

0 comments

#17 Phillip David / phrodod - Score: 299 - 12/24/12 @ 19:58
i<C-K>A* <C-K>a*<Esc><CR>i<C-K>B* <C-K>b*<Esc><CR>i<C-K>G* <C-K>g*<Esc><CR>i<C-K>D* <C-K>d*<Esc><CR>i<C-K>E* <C-K>e*<Esc><CR>i<C-K>Z* <C-K>z*<Esc><CR>i<C-K>Y* <C-K>y*<Esc><CR>kui<Esc>uu<C-R><C-R><C-R>ji<C-K>H* <C-K>h*<Esc><CR>i<C-K>I* <C-K>i*<Esc><CR>i<C-K>K* <C-K>k*<Esc><CR>i<C-K>L* <C-K>l*<Esc><CR>i<C-K>M* <C-K>m*<Esc><CR>i<C-K>N* <C-K>n*<Esc><CR>i<C-K>C* <C-K>c*<Esc><CR>i<C-K>o* <C-K>o*<Esc>0r<C-K>O*<CR>i<C-K>P* <C-K>p*<Esc><CR>i<C-K>R* <C-K>r*<Esc><CR>i<C-K>S* <C-K>s*<Esc><CR>i<C-K>T* <C-K>t*<Esc><CR>i<C-K>U* <C-K>u*<Esc><CR>i<C-K>F* <C-K>f*<Esc><CR>i<C-K>X* <C-K>x*<Esc><CR>i<C-K>Q* <C-K>q*<Esc><CR>i<C-K>W* <C-K>w*<Esc>l<C-V>kkkkkkkkkkkkkkkkkkkkkkkI   <Esc>/<C-K>s*w<BS><CR>wlr<C-K>*sZZ

phrodod: I've implemented a naive approach to get you going. Have fun!

phrodod: There are also a couple of typos, so just by eliminating those, you should be able to do better :)

zulolosi: My implementation was very speedy ... and funny !

zulolosi: My first solution 326 keystrokes was a copy paste of the "End file",but now i have a solution (62) that doesn't paste from the digraph help file, and a VimScript solution (77 keys)

4 comments

#18 Joaquin Coronel / joakonumberone - Score: 1521 - 02/09/17 @ 20:52
<C-V>G45<BS>uuuuu<C-V>G4I <Esc>:set keymap=greek<CR>daia<BS> had<BS><BS><BS><Esc>ia<BS>A a<BS><BS><BS>uuu<BS><BS><BS><Esc>uuu<C-R><C-R>i<Esc>rajrbjrcjkrgjrdjeurerdjrejrzjhrhjrorOrP<BS>uuuu<C-R>jrujrijrkjrljrmjrnjrjjrojrpjrrjrsjrtjruryjrfjrxjrurprlrirormrnrjrhrhrkrlrfrgrvrcjrvvGj<Esc><C-V>Ojkkkkkkkkkkkkkkkkkkkkkkkkkkk2lhh  vuhhvjjjjkkkkk<C-V>jjjjjjjjjjjjjjjjjjjjjjjjlhlh<C-V><C-V>kkkkkkkkkkkkkkkkkkkkkkkkkkylllph<BS>li<BS><Esc>jkjll<BS><BS>ll<Esc>i<Esc>:help digraphs<CR>jkjjjjjjjjjjjjjjjjjjjjjjjjjjj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phhllhlkvjk<Esc><C-V>jjjjjjjjjjyhpuuuuuuuuuuhh<C-V>23jylpllh<C-V>23jyphhhhjjjjjjjjjjjjjjjjjlll*s<Esc>uhllhhhu<C-R><C-W>kqquit:q:quit<CR>hjjjjjjjjjjjjjjjjjjjjjjjjjjjjo<C-K>*s<BS><BS>jj<BS><BS><Esc>jjkkkkkkhhhhhhhr<C-K>*skkjjhhhjjjjjj<C-V>23k~ZZ

joakonumberone: Can you tell I'm new to VIM

1 comment

Created by: phrodod

18 active golfers, 39 entries

Leaderboard (lowest score wins):
34
#1 - Urtica dioica / udioica

12/25/2012 at 02:13AM

35
#2 - Smylers / Smylers2

02/25/2016 at 03:58PM

48
#3 - curist / curist

07/09/2013 at 03:59AM

58
#4 - h_east (トロッコ6個) / h_east

12/24/2012 at 10:33PM

58
#5 - Jon Krause / jkrause314

01/20/2016 at 01:38AM

60
#6 - Matthieu Crapet / mcr05

02/08/2015 at 10:01PM

62
#7 - Petro Тrouq / zulolosi

06/01/2013 at 11:06PM

64
#8 - hiding / I_haveno_name

10/03/2013 at 03:02AM

80
#9 - James T. Huggett / Jmeshka

10/02/2013 at 02:25PM

89
#10 - jolka / jolka19296078

05/23/2014 at 11:16PM

91
#11 - Roger Bongers / RogerBongers

10/22/2013 at 05:40PM

96
#12 - Coal / Coal

01/22/2015 at 07:23AM

105
#13 - Ram Tamtam / ramtamtamtam

07/02/2014 at 09:12PM

114
#14 - Tyler HT Cipriani / tylercipriani

08/28/2013 at 02:58PM

137
#15 - Ian Liu Rodrigues / ianliu88

01/16/2014 at 12:57PM

170
#16 - Eduardo Diaz / iamedu

03/05/2013 at 12:08PM

299
#17 - Phillip David / phrodod

12/24/2012 at 07:58PM

1521
#18 - Joaquin Coronel / joakonumberone

02/09/2017 at 08:52PM