Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 50d76e775539af000200006f

Transposition

Transpose the original lines in separate columns, one for each line.

Start file
ultricies, vehicula, felis, sed, auctor, aenean, euismod, semper, quam, dapibus
nibh, consequat, consequat, maecenas, sit, amet, mauris, justo, quis, porttitor
curabitur, pharetra, euismod, orci, sit, amet, ullamcorper, mi, tincidunt, et
vitae, lorem, at, mi, feugiat, convallis, ac, eget, dui, fusce
blandit, iaculis, nulla, sit, amet, dolor, nec, est, ornare, volutpat
End file
ultricies  nibh       curabitur    vitae      blandit
vehicula   consequat  pharetra     lorem      iaculis
felis      consequat  euismod      at         nulla
sed        maecenas   orci         mi         sit
auctor     sit        sit          feugiat    amet
aenean     amet       amet         convallis  dolor
euismod    mauris     ullamcorper  ac         nec
semper     justo      mi           eget       est
quam       quis       tincidunt    dui        ornare
dapibus    porttitor  et           fusce      volutpat

View Diff

1,5c1,10
< ultricies, vehicula, felis, sed, auctor, aenean, euismod, semper, quam, dapibus
< nibh, consequat, consequat, maecenas, sit, amet, mauris, justo, quis, porttitor
< curabitur, pharetra, euismod, orci, sit, amet, ullamcorper, mi, tincidunt, et
< vitae, lorem, at, mi, feugiat, convallis, ac, eget, dui, fusce
< blandit, iaculis, nulla, sit, amet, dolor, nec, est, ornare, volutpat
---
> ultricies  nibh       curabitur    vitae      blandit
> vehicula   consequat  pharetra     lorem      iaculis
> felis      consequat  euismod      at         nulla
> sed        maecenas   orci         mi         sit
> auctor     sit        sit          feugiat    amet
> aenean     amet       amet         convallis  dolor
> euismod    mauris     ullamcorper  ac         nec
> semper     justo      mi           eget       est
> quam       quis       tincidunt    dui        ornare
> dapibus    porttitor  et           fusce      volutpat

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 16 remaining solutions by signing in and submitting your own entry
#17 Tullio Facchinetti / @toolleeo - Score: 51 - 07/25/13 @ 05:48
::%s/, /\r/g<CR><C-V>11GlI  <Esc>qq:0<CR><C-V>9j$"ax10dd0"aP10jq3@qZZ

0 comments

#18 DR / @dde81 - Score: 53 - 12/23/12 @ 14:50
:%s/, /\r/g<CR><C-V>39kI <Esc>39G<C-V>gg$A <Esc>jkhqa<C-V>9j$d10jPq3@akdggZZ

0 comments

#19 Asmund Liseth / @Asmund_L - Score: 56 - 12/23/12 @ 15:16
Gqqi  <Esc>:s/,/\r /g<CR>0<C-V>9k$"ad10ddqo<Esc>"aPqw0k@q0"aPq3@w<C-V>GhdZZ

0 comments

#20 Zudochkin Dmitry / @vredniy - Score: 71 - 01/16/13 @ 23:26
:<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Esc>:%s/, /\r/g<CR><C-V>39kI <Esc>39G<C-V>gg$A <Esc>jkhqa<C-V>9j$d10jPq3@akdggZZ

0 comments

#21 Global Maquereau / @GlobalMaquereau - Score: 97 - 12/24/12 @ 02:32
:%s/, /\r/g<CR>39kqq<C-V>9j$y10kqA  <Esc>p10j10dd@qA       <Esc>p10j10dd@qA    <Esc>p@<Esc>10j10dd@qA      <Esc>p10j10dd:wq<CR>

0 comments

Created by: @joe_di_castro

21 active golfers, 53 entries

Leaderboard (lowest score wins):
Q6hrg93p4r3hn56thmd0_normal
31
#1 - Urtica dioica / @udioica

12/24/2012 at 04:52AM

8ig-egq0_normal
31
#2 - John Braxler / @braxler

09/17/2014 at 09:04AM

4654945923_eb2c60ee5f_normal
33
#3 - Kerson Hsiao / @KersonHsiao

12/24/2012 at 04:37AM

0e620322b2c292d069fe93e27c081f9c_normal
34
#4 - Petro Тrouq / @zulolosi

08/15/2013 at 11:23PM

C9315f734465f1906d4e615b826fb3d1_normal
36
#5 - Alec Goebel / @zego5360

01/03/2013 at 07:38PM

Netti_pihlajo1_lthumb_normal
36
#6 - Joonas Pihlajamaa / @jokkebk

03/27/2014 at 03:25AM

Untitled-1_normal
39
#7 - Chase Stubblefield / @sterlingchase

04/28/2013 at 05:05PM

Jbgutierrez_normal
40
#8 - Javier Blanco / @jbgutierrez

12/26/2012 at 12:21PM

Default_profile_3_normal
40
#9 - Édouard M'tou / @DouardM

01/01/2013 at 12:28PM

Default_profile_5_normal
40
#10 - Zarak / @z0k

01/05/2013 at 02:23PM

99d66d079705c655e24d3b3e3d866222_normal
40
#11 - Sebastian Heil / @sebokopter

11/19/2013 at 06:50AM

Default_profile_1_normal
41
#12 - Hubba / @HubbaBubbaFett

12/25/2012 at 04:51AM

Bc879469f279ee24b7fbdfad7c2216d9_normal
41
#13 - 無ん垢の叫び / @john_ababa

12/29/2012 at 08:30AM

Default_profile_3_normal
41
#14 - hiding / @I_haveno_name

11/28/2013 at 02:03PM

P1000007_normal
42
#15 - h_east (DDD ready) / @h_east

12/24/2012 at 07:12AM

Default_profile_2_normal
42
#16 - Oscar Friberg / @oscfri

02/10/2013 at 01:55PM

Default_profile_6_normal
51
#17 - Tullio Facchinetti / @toolleeo

07/25/2013 at 05:48AM

Default_profile_3_normal
53
#18 - DR / @dde81

12/23/2012 at 02:50PM

Gravatar_normal
56
#19 - Asmund Liseth / @Asmund_L

12/23/2012 at 03:16PM

Y_6a59e796_normal
71
#20 - Zudochkin Dmitry / @vredniy

01/16/2013 at 11:26PM

Banc-de-maquereaux-rayes_normal
97
#21 - Global Maquereau / @GlobalMaquereau

12/24/2012 at 02:32AM