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 4d1db1b8de2f897c2a00014a

Reverse Simple Deletion

You did the simple deletion, now reverse it.

Start file
abcdefghijklmnopqrstuvwxyz
End file
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

View Diff

1c1,26
< abcdefghijklmnopqrstuvwxyz
---
> 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

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 311 remaining solutions by signing in and submitting your own entry
#312 Brandon Blakeley / zkelvin - Score: 12 - 11/25/17 @ 07:01
qqa<CR><Esc>q24@qZZ

0 comments


#313 하읗 | 느개비 한문숙어 / hautass - Score: 12 - 02/01/18 @ 06:23
qqa<CR><Esc>q24@qZZ

0 comments


#314 xyz / menhej - Score: 12 - 02/04/18 @ 00:07
qqa<CR><Esc>q24@qZZ

0 comments


#315 Paul Draghicescu / pdragy - Score: 12 - 03/22/18 @ 22:02
qqa<CR><Esc>q24@qZZ

0 comments


#316 Marcos Almeida / almeidamarcos_ - Score: 12 - 04/08/18 @ 09:57
qqa<CR><Esc>q24@qZZ

0 comments


#317 서강훈 / shirano150 - Score: 12 - 04/12/18 @ 08:07
qqa<CR><Esc>q24@qZZ

0 comments


#318 DHM / DHM29978992 - Score: 12 - 04/30/18 @ 17:10
qqa<CR><Esc>q24@qZZ

0 comments


#319 Christoph Stock / christophstock - Score: 13 - 12/31/10 @ 13:47
qali<CR><Esc>q24@aZZ

0 comments


#320 Douglas Stockwell / dstockwell - Score: 13 - 12/31/10 @ 19:48
qali<CR><Esc>@aq@aZZ

0 comments


#321 neleai / enlaei - Score: 13 - 12/31/10 @ 22:31
qali<CR><Esc>q25@aZZ

0 comments


#322 Martin Hauser / grummel - Score: 13 - 01/01/11 @ 13:36
<Esc>qqa<CR><Esc>q24@qZZ

0 comments


#323 Nomen Nescio / vadtusan - Score: 13 - 04/14/11 @ 23:02
qqli<CR><Esc>q25@qZZ

0 comments


#324 Rolf K. / mindleftbody - Score: 13 - 06/17/11 @ 16:10
qali<CR><Esc>q24@aZZ

0 comments


#325 arminas / arminas - Score: 13 - 06/22/11 @ 12:17
qqli<CR><Esc>q25@qZZ

0 comments


#326 Burkhard Zimmermann / BurkZimm - Score: 13 - 02/04/12 @ 23:00
q0li<CR><Esc>q24@0ZZ

0 comments


#327 ɟpsq / bsdf - Score: 13 - 02/08/12 @ 19:51
qqli<CR><Esc>q25@qZZ

0 comments


#328 Adelar S. Queiróz / adelarsq - Score: 13 - 11/25/12 @ 20:32
qali<CR><Esc>q24@aZZ

0 comments


#329 CHIP CASTLE / chipcastle - Score: 13 - 12/28/13 @ 16:21
qqli<CR><Esc>q25@qZZ

0 comments


#330 eBrnd / eBrnd - Score: 13 - 11/07/14 @ 18:51
qqli<CR><Esc>q25@qZZ

0 comments


#331 renick / renick - Score: 14 - 12/31/10 @ 18:30
q2a<CR><Esc>q24@2:wq<CR>

0 comments


#332 George Reilly / georgevreilly - Score: 14 - 12/31/10 @ 21:13
qra<CR><Esc>q24@r:wq<CR>

0 comments


#333 fuck you / jerkassholeface - Score: 14 - 01/15/11 @ 00:29
qqa<CR><Esc>q25@qddZZ

0 comments


#334 Unreal Name / morphles - Score: 14 - 06/03/11 @ 06:30
qaa<CR><Esc>q24@a:wq<CR>

0 comments


#335 Al / 96258 - Score: 14 - 12/14/11 @ 16:40
qqa<NL><Esc>q25@qddZZ

0 comments


#336 Oliver Christ / 0liverChrist - Score: 14 - 10/02/13 @ 22:44
qaa<CR><Esc>q25@addZZ

0 comments


#337 foo / foo88832727 - Score: 14 - 10/19/13 @ 17:48
qq$i<CR><Esc>kq24@qZZ

0 comments


#338 luffy / raxcoi - Score: 14 - 06/12/15 @ 05:01
lqqi<CR><Esc>lq24@qZZ

0 comments


#339 Ryan van Rensburg / rdvr001 - Score: 14 - 07/23/16 @ 11:07
qqa<CR><Esc>q25@qddZZ

0 comments


#340 Stephen Morrow / yawmark - Score: 15 - 12/31/10 @ 14:19
:s/./&\r/g<CR>ddZZ

0 comments


#341 Brian Frantz / brian_frantz - Score: 15 - 12/31/10 @ 14:27
:s/./&\r/g<CR>ddZZ

0 comments


#342 deadsunrise / Deadsunrise - Score: 15 - 12/31/10 @ 16:03
qai<Right><CR><Esc>q24@aZZ

0 comments


#343 sibsibsib / sibsibsib - Score: 15 - 12/31/10 @ 16:39
:s/./&\r/g<CR>ddZZ

0 comments


#344 Andrei Dragomir / adragomir - Score: 15 - 12/31/10 @ 17:48
qqi<Right><CR><Esc>q24@qZZ

0 comments


#345 d6rkaiz / d6rkaiz - Score: 15 - 12/31/10 @ 18:07
:s/./&\r/g<CR>ddZZ

0 comments


#346 eolo999 / eolo999 - Score: 15 - 12/31/10 @ 22:06
qqli<CR><Esc>q26@q:wq<CR>

0 comments


#347 garygordon / garygordon - Score: 15 - 01/01/11 @ 19:19
:s/./&<C-V><CR>/g<CR>ddZZ

0 comments


#348 Nicolas Pouillard / npouillard - Score: 15 - 01/02/11 @ 10:38
:s/./&\r/g<CR>ddZZ

0 comments


#349 Ankit Shankar / thelastnode - Score: 15 - 01/03/11 @ 22:50
:s/./&<C-V><CR>/g<CR>ddZZ

0 comments


#350 Aaron Bull Schaefer / elasticdog - Score: 15 - 01/05/11 @ 00:43
:s/./&\r/g<CR>ddZZ

0 comments


#351 Przemysław Pawełczyk / przemoc86 - Score: 15 - 01/15/11 @ 20:26
:s/./&\r/g<CR>ddZZ

0 comments


#352 Matthieu Honel / ocus - Score: 15 - 01/29/11 @ 13:16
:s/./&\r/g<CR>ddZZ

0 comments


#353 Levon Lloyd / levonlloyd - Score: 15 - 02/04/11 @ 17:46
:s/./&\r/g<CR>ddZZ

0 comments


#354 Tim Andersson / Boerworz - Score: 15 - 04/19/11 @ 23:31
:s/./&\r/g<CR>ddZZ

0 comments


#355 Jim Kalafut / jimkalafut - Score: 15 - 12/12/11 @ 03:40
qa<Right>i<CR><Esc>q25@a:wq<CR>

0 comments


#356 Kurt Gaastra / KGaastra - Score: 15 - 02/14/12 @ 06:31
:s/./&\r/g|d|x<CR>

0 comments


#357 Endri Runa / endiruna - Score: 15 - 06/06/12 @ 23:29
qqa<CR><Esc>q24@q<Esc>:wq<CR>

0 comments


#358 Arto Vuori / dhpe - Score: 15 - 09/01/12 @ 18:20
:s/./&\r/g<CR>ddZZ

0 comments


#359 bob / vg41 - Score: 15 - 12/21/12 @ 11:19
:s/./&\r/g<CR>ddZZ

0 comments


#360 Bart of Denver / bartofdenver - Score: 15 - 08/13/13 @ 04:02
:s/./&\r/g<CR>ddZZ

0 comments


#361 Sam Rose / samwhoo - Score: 15 - 08/27/13 @ 19:45
:s/./&\r/g<CR>ddZZ

0 comments


#362 jgpaiva / jgpaiva - Score: 15 - 02/03/14 @ 19:22
:s/./&<C-V><CR>/g<CR>ddZZ

0 comments


#363 Kamil Krzyżanowski / kamnxt - Score: 15 - 03/14/14 @ 17:35
:s/./&\r/g<CR>ddZZ

0 comments


#364 Skúli Jóhannsson / skulibj - Score: 15 - 06/28/15 @ 21:23
:s/./&\r/g<CR>ddZZ

0 comments


#365 Kris Jenkins / krisajenkins - Score: 16 - 12/31/10 @ 11:11
:.s/./&<C-V><CR>/g<CR>ddZZ

0 comments


#366 Thomas Kho / tkho - Score: 16 - 12/31/10 @ 15:13
:s/./&\r/g<CR>GddZZ

0 comments


#367 Lee Marlow / lmarlow - Score: 16 - 12/31/10 @ 18:39
:%s/./&<C-V><CR>/g<CR>ddZZ

0 comments


#368 Kurinniy Alexander / kurinniy - Score: 16 - 01/21/11 @ 10:44
q1gg$ha<CR><Esc>q25@1ZZ

0 comments


#369 mightyfoo / mightyfoo - Score: 16 - 05/26/11 @ 16:36
:s/[^z]/&<C-V><CR>/g|x<CR>

0 comments


#370 ovo / prokrastinatsia - Score: 16 - 08/12/12 @ 01:16
:s/[^z]/&\r/g<CR>ZZ

0 comments


#371 Runar / runarfu - Score: 16 - 01/11/13 @ 08:42
:s/\w/&\r/g<CR>ddZZ

0 comments


#372 Maxime / Maxime_VII - Score: 16 - 08/04/15 @ 09:00
qq$xo<Esc>pggq24@qZZ

0 comments


#373 ltn614 / ltn614 - Score: 16 - 09/24/15 @ 06:52
:s/\w/&\r/g<CR>ddZZ

0 comments


#374 Daniel / Daniel00288663 - Score: 16 - 03/31/17 @ 13:44
qqxO<Esc>p+q25@qdGZZ

0 comments


#375 Viswanath Sivakumar / viswanathgs - Score: 17 - 08/26/12 @ 23:57
:%s/./&\r/g<CR>dd:x<CR>

0 comments


#376 Justin Knag / justinknag - Score: 17 - 08/28/14 @ 16:10
:%s/\S/&\r/g<CR>ddZZ

0 comments


#377 OlivierLi / LiZhongSin - Score: 17 - 11/16/16 @ 01:11
qali<CR><Esc>q23@a@@:wq<CR>

0 comments


#378 Mattiassich Ákos / mattiassicha - Score: 19 - 12/31/10 @ 12:38
:%s#\(.\)#\1\r#g<CR>ZZ

0 comments


#379 Clive Evans / swish_bob - Score: 20 - 12/31/10 @ 11:26
:s/\(.\)/\1<C-V><CR>/g<CR>ddZZ

0 comments


#380 solsTiCe d'Hiver / solstice_dhiver - Score: 20 - 01/02/11 @ 00:22
:s/\(.\)/\1<C-V><CR>/g<CR>ddZZ

0 comments


#381 Petr Blaho / petrblaho - Score: 21 - 12/31/10 @ 11:44
:s/\([^z]\)/\1<C-V><CR>/g<CR>ZZ

0 comments


#382 Eivind Jahren / HaskellElephant - Score: 21 - 01/14/11 @ 20:35
:s/\(\a\)/\1\r/g<CR>ddZZ

0 comments


#383 Yannick LM / yanicklm - Score: 22 - 12/31/10 @ 13:57
:%s/\v(.)/\1<C-V><CR>/g<CR>DddZZ

0 comments


#384 fdsfasdf / fdsfasdf1 - Score: 23 - 12/12/11 @ 22:52
qaa<CR>q<BS><Esc>q@a20@a3@a:w<CR>:q<CR>

0 comments


#385 Christian Neeb / chneeb - Score: 24 - 12/31/10 @ 13:05
:%s/\(\w\)/\1\r/g<CR>dd:wq<CR>

0 comments


#386 David E Smith / david3smith - Score: 29 - 12/31/10 @ 19:37
a<CR><Esc>........................ZZ

0 comments


#387 Vimgolf Lucas / vimgolf_lucas - Score: 32 - 07/26/15 @ 05:55
a<CR><Esc>.........................ddZZ

0 comments


#388 Bjørn Fotland / bfotland - Score: 38 - 12/31/10 @ 14:08
<0xc3><0x98>:%s/[<BS>\([a-y]<<BS>\)/\1\r/g<CR>:e<BS>wq<CR>

0 comments


#389 khebbie / khebbie - Score: 109 - 12/31/10 @ 13:25
i<Right><CR><Esc>.u<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Right>.<Esc>:wq<CR>

0 comments


Created by: Ujjwol

389 active golfers, 679 entries

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

07/22/2012 at 01:14AM

11
#2 - Federico Galassi / federicogalassi

07/22/2012 at 04:19PM

11
#3 - Frank Twitting / knarfben

07/23/2012 at 02:16PM

11
#4 - Yann / LittlSheep

09/09/2012 at 06:50AM

11
#5 - Adam Dratwinski / adwinsky

11/27/2012 at 08:38PM

11
#6 - Gabriele Lana / gabrielelana

01/22/2013 at 09:32PM

11
#7 - Trevor Powell / DoomedBunnies

03/20/2013 at 04:00AM

11
#8 - Marco Hinz / _mhinz_

05/18/2013 at 08:17AM

11
#9 - Ilya Strukov / i1ey

06/27/2013 at 10:14AM

11
#10 - Conor Kirkman / conorkirkman

07/18/2013 at 07:56PM

11
#11 - Petro Тrouq / zulolosi

07/21/2013 at 01:11AM

11
#12 - Drew Neil / nelstrom

08/27/2013 at 08:46AM

11
#13 - John Papanastasiou / JohnPapps

08/27/2013 at 07:47PM

11
#14 - Stephen Drodge / sjdrodge

09/24/2013 at 03:37AM

11
#15 - Stefan Schmidt / stafue

12/06/2013 at 03:46PM

11
#16 - Arturo Escaip / arturoescaip

12/08/2013 at 08:07AM

11
#17 - Xelrifos / Xelrifos

02/24/2014 at 04:50PM

11
#18 - Zapata / Incredible_JFP

03/15/2014 at 05:53PM

11
#19 - Felipe Jaramillo F / mrfelipe

04/16/2014 at 03:10AM

11
#20 - John Braxler / braxler

04/18/2014 at 06:48PM

11
#21 - Peeby Thirtyone / peeby31

05/10/2014 at 11:51AM

11
#22 - LC / leeren

08/10/2014 at 07:48AM

11
#23 - Tj / yrddy

08/19/2014 at 11:44AM

11
#24 - Johannes H. / neVexa

09/23/2014 at 03:35PM

11
#25 - david hu / chin33z

12/21/2014 at 05:36AM

11
#26 - kimber gonzalez / kimberlycreates

01/21/2015 at 10:55PM

11
#27 - TheProgrammer971 / tp971

03/14/2015 at 03:51PM

11
#28 - marty / computerliker

06/03/2015 at 03:11AM

11
#29 - Raj / brshenoy

07/07/2015 at 03:34PM

11
#30 - Elizabeth / sprinkles418

07/17/2015 at 01:59AM