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 17 remaining solutions by signing in and submitting your own entry
#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 Mauro Persano / @fzort - Score: 81 - 11/16/14 @ 14:07
qaO<Esc>80i <Esc>+dwkP+2xjdw2k12|P2+2xjdw3k23|P3+2xjdw4k36|P4+2xjdw5k47|PlD5+2x4kq9@a5DZZ

0 comments

#22 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

22 active golfers, 55 entries

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

12/24/2012 at 04:52AM

31
#2 - John Braxler / @braxler

09/17/2014 at 09:04AM

33
#3 - Kerson Hsiao / @KersonHsiao

12/24/2012 at 04:37AM

34
#4 - Petro Тrouq / @zulolosi

08/15/2013 at 11:23PM

36
#5 - Alec Goebel / @zego5360

01/03/2013 at 07:38PM

36
#6 - Joonas Pihlajamaa / @jokkebk

03/27/2014 at 03:25AM

39
#7 - Chase Stubblefield / @sterlingchase

04/28/2013 at 05:05PM

40
#8 - Javier Blanco / @jbgutierrez

12/26/2012 at 12:21PM

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

01/01/2013 at 12:28PM

40
#10 - Zarak / @z0k

01/05/2013 at 02:23PM

40
#11 - Sebastian Heil / @sebokopter

11/19/2013 at 06:50AM

41
#12 - Hubba / @HubbaBubbaFett

12/25/2012 at 04:51AM

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

12/29/2012 at 08:30AM

41
#14 - hiding / @I_haveno_name

11/28/2013 at 02:03PM

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

12/24/2012 at 07:12AM

42
#16 - Oscar Friberg / @oscfri

02/10/2013 at 01:55PM

51
#17 - Tullio Facchinetti / @toolleeo

07/25/2013 at 05:48AM

53
#18 - DR / @dde81

12/23/2012 at 02:50PM

56
#19 - Asmund Liseth / @Asmund_L

12/23/2012 at 03:16PM

71
#20 - Zudochkin Dmitry / @vredniy

01/16/2013 at 11:26PM

81
#21 - Mauro Persano / @fzort

11/16/2014 at 02:07PM

97
#22 - Global Maquereau / @GlobalMaquereau

12/24/2012 at 02:32AM