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 336 remaining solutions by signing in and submitting your own entry
#337 dixrow / @dixrow1 - Score: 112 - 10/22/19 @ 10:16
a<CR>2<CR>3<CR>4<CR>5<CR>6<CR>7<CR>8<CR>9<Esc>vggyGpi<CR><Esc>i1<Esc>j.j.j.j.j.j.j.j.<Esc>kkkkkkkkkkjjO10<Esc>jjjjjjjjjjjjjo<Esc>pi20<CR>2<BS><Esc>i2<Esc>j.j.j.j.j<Esc>dddddddd<Esc>:wq<CR>

0 comments


Created by: @rodmar_

337 active golfers, 493 entries

Leaderboard (lowest score wins):
12
#271 - Marty Boren / @computerliker

11/28/2015 at 06:26AM

12
#272 - Mendel Simon / @agentms11

12/07/2015 at 09:05PM

12
#273 - Walker Boh / @walker_boh

12/08/2015 at 10:23AM

12
#274 - Connor Freeman / @conrfrmn

02/24/2016 at 02:22AM

12
#275 - Caleb Roberts / @calebmail2012

03/01/2016 at 09:11PM

12
#276 - Smylers / @Smylers2

03/30/2016 at 09:36PM

12
#277 - Lluís Mª Bosch / @LluisMa

04/14/2016 at 11:13PM

12
#278 - Joe Searle / @artouk

05/02/2016 at 02:01PM

12
#279 - Ben Hill / @KaizenSoze70

05/25/2016 at 12:42PM

12
#280 - Eli Zucker / @EliZucker

05/26/2016 at 05:15PM

12
#281 - Will / @obiwan__k3n00bi

08/11/2016 at 02:17AM

12
#282 - Atrament / @Atrament

08/20/2016 at 04:56PM

12
#283 - F B / @felixbigg

10/27/2016 at 03:26PM

12
#284 - Emil Rönnbäck / @emilronnback

10/29/2016 at 09:45PM

12
#285 - KangHun Seo / @shirano80

11/27/2016 at 04:14AM

12
#286 - MS / @mislusnys

12/12/2016 at 08:15PM

12
#287 - Durell Smith / @durealest

02/21/2017 at 05:04AM

12
#288 - Avijit Gupta / @526avijit

03/25/2017 at 04:52AM

12
#289 - Daniel / @Daniel00288663

04/04/2017 at 10:25AM

12
#290 - martin tourneboeuf / @martintournebo1

05/21/2017 at 10:30AM

12
#291 - Gurukandhamoorthi / @Gurukandhamoor1

08/09/2017 at 03:31PM

12
#292 - jn / @j1357924

08/24/2017 at 07:11PM

12
#293 - Paul Draghicescu / @pdragy

03/22/2018 at 10:47PM

12
#294 - Gatlee / @gatmek

05/06/2018 at 02:01PM

12
#295 - DHM / @DHM29978992

05/15/2018 at 02:51AM

12
#296 - Jerry / @GarrisonwuJerry

06/13/2018 at 03:14PM

12
#297 - Arijus / @argshook

06/28/2018 at 12:24PM

12
#298 - Marius Jurgelenas / @MarenasLT

06/28/2018 at 12:27PM

12
#299 - Brent Woo / @BrentPWoo

10/02/2018 at 06:13PM

12
#300 - editor3D / @editor3D

11/13/2018 at 05:13PM