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 9v0063d76854000000000249

Paste a column after a column

This task is very common while using multi-cursor. What is the elegant vim way ?

Start file
Names
Donald Knuth
Sebastian Thrun
Peter Norvig
Satoshi Nakamoto
Age
100
50
60
45
End file
Names,Age
Donald Knuth,100
Sebastian Thrun,50
Peter Norvig,60
Satoshi Nakamoto,45

View Diff

1,10c1,5
< Names
< Donald Knuth
< Sebastian Thrun
< Peter Norvig
< Satoshi Nakamoto
< Age
< 100
< 50
< 60
< 45
---
> Names,Age
> Donald Knuth,100
> Sebastian Thrun,50
> Peter Norvig,60
> Satoshi Nakamoto,45

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 500 remaining solutions by signing in and submitting your own entry
#501 KingSann / @iferkey - Score: 275 - 09/13/23 @ 03:34
6G<C-V><Down><Down><Down><Down><Down><Down><Down><Down><Right><Left>y<Up><Up><Up><Up><Up><Up><Up><Up>A           <C-C><C-C><Right>pu<Down><Down><Down><Down><Down><Down><Down><Up><Up><Left><Left><C-V><Right><Down><Right><Down><Right><Down><Down><Left><Right><Left>y<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>A<C-R>"<C-C><C-C>upu<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Left><Up><Up><Up><Up><C-V><Right><Down><Right><Down><Down><Down><Down>y<Up><Up><Up><Up><Up><Up><Up><Up><Up>A   <C-C><C-C>p<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Down><Down><Down><Down><Down>v<Down><Down><Down><Down><Down><Down><Down>D<Up><Up><Up><Up><Right><Right><Right><Right><Right>DFaU<Right><Left>DU<C-C><C-C>UUUUU<Right>UUUUUUa<Tab><Tab><BS><BS> aGE<BS><BS><BS><BS>, Age<Down><Right><Right><C-C><C-C><Right>df1i, 1<BS><BS>1<Left><Up><Left><Left><Left><BS><Down><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><C-C><C-C><Right>v<Right><Right><Right><Right>s,5<Down><Left><Left><Left><Left><C-C><C-C>v<Right><Right><Right><Right><Right><Right>s,<Down><Right><Right><Right>v<Right><Right><BS><BS><Right><BS><BS>.<BS>,<C-C><C-C>ZZ

0 comments


Created by: @__ngtrongkha

501 active golfers, 2314 entries

Leaderboard (lowest score wins):
23
#331 - Marius Ropotica / @cipmar

03/30/2024 at 09:12AM

23
#332 - Charlie-83 / @Charlie-83

04/18/2024 at 08:53AM

24
#333 - Himanshu Tank / @himanshutank75

03/01/2023 at 11:33AM

24
#334 - Mikhail / @mtomy

03/14/2023 at 09:49AM

24
#335 - ひろま / @HrmsEndo

04/08/2023 at 01:24AM

24
#336 - yann / @ylsarto

05/15/2023 at 08:08PM

24
#337 - SpLauT / @SpLauT1

05/19/2023 at 08:27PM

24
#338 - Parsa Alizadeh / @lizadeh1

05/20/2023 at 02:57PM

24
#339 - aspiring robber baron / @0xApophenia

05/22/2023 at 04:28AM

24
#340 - Alexandre Kholod / @wadapad07

06/20/2023 at 03:22PM

24
#341 - Injae Kang / @abcinje

07/14/2023 at 04:57PM

24
#342 - 서보현 / @ktseo41

08/01/2023 at 04:03AM

24
#343 - مرجان / @IEnfantTerribIe

08/03/2023 at 10:23AM

24
#344 - louis / @LouisJordan

08/14/2023 at 01:15PM

24
#345 - 咸糖🎯 / @GIA917229015

01/04/2024 at 03:29PM

25
#346 - alhegamu / @alhegamu

02/27/2023 at 05:08PM

25
#347 - Alex Martin / @Subtle__Co

02/28/2023 at 03:42PM

25
#348 - hugo yamaki / @_hyamak

03/15/2023 at 02:00AM

25
#349 - Philippe Carphin / @PCarphin

05/14/2023 at 08:10PM

25
#350 - Jimmy Shamas / @Typhode

07/16/2023 at 05:14PM

25
#351 - sis / @OPhboUDXyJXMoVX

09/06/2023 at 01:23PM

25
#352 - Markus Ditlev Olsen / @DitlevOlsen

09/30/2023 at 08:35PM

25
#353 - x𝕏西園寺やきしゃも𝕏x / @y_saionji_tech

11/20/2023 at 06:50AM

25
#354 - Shywizz / @Shywizz

01/14/2024 at 03:25PM

25
#355 - Andrey Rakhubovsky / @omnster

03/29/2024 at 09:38AM

26
#356 - Max Taylor / @maxtaylorxyz

02/13/2023 at 07:29PM

26
#357 - lytoooo0 / @lytoooo0

03/03/2023 at 08:20PM

26
#358 - johnsnow / @johnsnow828904

04/13/2023 at 04:54PM

26
#359 - Julian Pottle / @jules_np

08/19/2023 at 07:36PM

26
#360 - ewinge1 / @ewinge1

11/06/2023 at 07:51PM