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

Increment, increment, increment....

Vim likes macros

Start file
1
End file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

View Diff

1a2,25
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> 11
> 12
> 13
> 14
> 15
> 16
> 17
> 18
> 19
> 20
> 21
> 22
> 23
> 24
> 25

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 406 remaining solutions by signing in and submitting your own entry
#407 sam (taylor's version) / @samwarrren - Score: 191 - 08/04/22 @ 17:43
<Right><Left>YYYYP+1<CR><BS><Down><Right><Right>ddqqyyp<S-Right><C-A>q@q@q@q@q@q@coun<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>1<CR><BS><Esc><Esc><Esc>@q@q@q<Right><Esc><BS><BS><BS><C-Right><C-Right><C-Right><Right><Right>ddddddyyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A>yyp<C-A><Esc><Esc>:w<CR>:wq<CR>

0 comments


Created by: @rodmar_

407 active golfers, 687 entries

Leaderboard (lowest score wins):
10
#61 - Jamie / @jamiegibneyuk

08/18/2023 at 06:46AM

10
#62 - Chris Braissant / @braissac

10/18/2023 at 04:12PM

10
#63 - rlykins728 / @rlykins728

11/25/2023 at 02:41AM

10
#64 - xiaoao1024 / @xiaoao1024

01/02/2024 at 03:31PM

10
#65 - Kanmuruuruu / @Kanmuruuruu

04/04/2024 at 07:47PM

10
#66 - kramff / @kramff

04/12/2024 at 10:27PM

10
#67 - Yash Kulshrestha / @YashdalfTheGray

04/13/2024 at 09:31PM

10
#68 - pajamaman7 aka tommyBuckets / @pajamaman7

05/04/2024 at 12:41AM

10
#69 - Peppa Pig / @PeppaPi95550250

06/02/2024 at 09:13AM

10
#70 - Paul McDowell / @etothepi16

06/16/2024 at 08:44PM

10
#71 - 🥚 / @schmarles_

11/29/2024 at 11:01PM

11
#72 - tpoeiras / @tpoeirass

08/01/2021 at 03:17AM

11
#73 - mevmev / @mevmev8

09/24/2021 at 11:12PM

11
#74 - Jacob Puthipiroj / @puthipiroj

11/15/2021 at 03:10PM

11
#75 - Day / @Day_vimgolf

12/07/2021 at 07:53AM

11
#76 - goon / @myalos

11/05/2023 at 08:44AM

11
#77 - Ben Zuke / @bsz123

11/03/2024 at 07:51PM

12
#78 - Rodolphe Marques / @rodmar_

12/30/2010 at 05:38PM

12
#79 - Aurélien Delahaye / @alkove

12/30/2010 at 05:44PM

12
#80 - space for rent / @raf_whispering

12/30/2010 at 05:44PM

12
#81 - h_east (トロッコ6個) / @h_east

12/30/2010 at 05:47PM

12
#82 - scott / @SetecAstronomy

12/30/2010 at 05:53PM

12
#83 - Johannes Martinsson / @moxiba

12/30/2010 at 05:56PM

12
#84 - Josh Weinberg / @jcweinberg

12/30/2010 at 05:56PM

12
#85 - Douglas Stockwell / @dstockwell

12/30/2010 at 05:57PM

12
#86 - Steve Morrow / @yawmark

12/30/2010 at 06:00PM

12
#87 - Tom Adams / @holizz

12/30/2010 at 06:12PM

12
#88 - James Wickett / @wickett

12/30/2010 at 06:13PM

12
#89 - Jim Garvin / @coderifous

12/30/2010 at 06:15PM

12
#90 - Jordan Lewis / @JordanALewis

12/30/2010 at 06:18PM