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

Visual block training

You see the input. You see the output. Go.

Start file
a
b
c
d
e
f
g
End file
a g a g a g a
b f b f b f b
c e c e c e c
d d d d d d d
e c e c e c e
f b f b f b f
g a g a g a g

View Diff

1,7c1,7
< a
< b
< c
< d
< e
< f
< g
---
> a g a g a g a
> b f b f b f b
> c e c e c e c
> d d d d d d d
> e c e c e c e
> f b f b f b f
> g a g a g a g

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 173 remaining solutions by signing in and submitting your own entry
#174 盧小小 / @VegetaLu - Score: 183 - 04/01/22 @ 14:42
A g<Esc>jA f<Esc>jA e<Esc>jA d<Esc>jA c<Esc>jA b<Esc>jA a<Esc><C-V>hkkkkkkkkkkkyllppullllp0<C-V>jjjjjjjjjjjlywpulpllpulpllpulllplll<C-V>jjjjjjjc<Esc>hlp<C-V>jjjjjjjjjjyhphhplllll<C-V>jjjjjjjjjjjjjjlllljjhhx<C-V>llll<Esc><Esc>llllljjjjjjjjjjlll:wq<CR>

0 comments


Created by: @mpnmbn

174 active golfers, 949 entries

Leaderboard (lowest score wins):
23
#61 - Nikita / @nikitajz

09/18/2022 at 06:49PM

23
#62 - キムラ・OPEL・ユウジ / @kimurayuuji79

10/04/2022 at 12:28AM

24
#63 - Elcio Ferreira / @elcio

03/14/2022 at 10:07PM

24
#64 - Terry Tsao / @TerryTsao9008

03/16/2022 at 04:44AM

24
#65 - Peter Salvi / @salvipeter

03/17/2022 at 12:30PM

24
#66 - Il Granfiatore / @M_Klauer

03/24/2022 at 03:22PM

24
#67 - xadrta / @xadrta

05/09/2022 at 02:41PM

24
#68 - fraktal / @FraktalRebirth

01/29/2023 at 07:19AM

25
#69 - Martin Bielik / @mabielik

06/07/2022 at 07:27PM

25
#70 - x03n046 / @x03n046

06/21/2022 at 07:58AM

25
#71 - Jakob Weickmann / @jweickm

11/14/2023 at 03:55PM

26
#72 - Vincent W / @ZoloowW

08/22/2022 at 06:05PM

28
#73 - naka / @nak38223985244

09/08/2023 at 03:10PM

29
#74 - Justin Sane / @Here4Vimgolf

05/09/2022 at 07:53PM

29
#75 - Abdelrahman Madkour / @A3Madkour

08/23/2023 at 01:46PM

29
#76 - konzy / @konzy

11/11/2023 at 09:32PM

29
#77 - zoomhauer / @oregonian_youth

11/25/2023 at 10:43PM

29
#78 - ye-chuan / @ye-chuan

01/24/2024 at 07:54PM

30
#79 - Jason Kuan | jasonkuan.eth / @Jason9075Kuan

04/06/2022 at 05:44AM

30
#80 - ._. / @Katharsic

04/24/2022 at 06:52AM

30
#81 - Aaron Hunt / @ach5910

09/28/2023 at 01:06AM

32
#82 - Vincent Staunton, P.I. / @vincestauntonvt

11/04/2022 at 01:21PM

33
#83 - Henk Houwaard / @Henkhouwaard

11/08/2022 at 11:28PM

34
#84 - Saki Gw / @Sakigw

03/14/2022 at 07:38AM

34
#85 - Ricardo Lima / @ricponteslima

03/17/2022 at 04:51PM

34
#86 - gugik / @rafgugi

04/27/2022 at 02:57PM

34
#87 - Alex / @AlexanderHeatl2

06/30/2022 at 11:20PM

34
#88 - jasonlee / @jasonle61136657

03/29/2023 at 05:05PM

35
#89 - Aiden Yang / @aidenyangnn

03/18/2022 at 06:10AM

35
#90 - Lyren Brown / @LyrenBrown

05/02/2022 at 06:17AM