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 5c4d042acfafb4000c9f06c2

One to Ten

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

Start file

End file
1
2
3
4
5
6
7
8
9
10

View Diff

1c1,10
< 
---
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10

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 574 remaining solutions by signing in and submitting your own entry
#575 Alexandre Gomes / @alexgomesdev - Score: 67 - 02/12/19 @ 12:50
:put(<BS> range=(1,10)<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>0<CR>:0put = <BS>range(1,10)<CR><Esc>jdd<Esc>:wq<CR>

0 comments


Created by: @tpenguinltg

575 active golfers, 1845 entries

Leaderboard (lowest score wins):
14
#421 - Daniel Amkær Sørensen / @AmkRensen

02/04/2020 at 09:39AM

14
#422 - brad / @bitsbybrad

03/04/2020 at 12:50PM

14
#423 - Harsh Raj / @harshraj22aug

03/07/2020 at 04:54PM

14
#424 - vvaannaa3 / @vvaannaa3

04/02/2020 at 09:42AM

14
#425 - fedja golf / @FedjaGolf

04/13/2020 at 03:04AM

14
#426 - volandkit / @volandkit

04/20/2020 at 05:34PM

14
#427 - whale / @Hari84444713

05/23/2020 at 10:53PM

14
#428 - 于吉星 / @fishermryn

05/25/2020 at 09:23AM

14
#429 - Siim Põder / @siimphh

07/04/2020 at 09:40AM

14
#430 - Martin Bielik / @mabielik

08/10/2020 at 06:48PM

14
#431 - This is a sniff free zone / @electronjunkie

08/16/2020 at 12:50PM

14
#432 - Андрей / @appomsk

08/16/2020 at 06:05PM

14
#433 - fenn.stefan@gmail.com / @FennStefan

08/25/2020 at 01:58PM

15
#434 - Cory Knapp / @coryknapp

01/27/2019 at 01:29AM

15
#435 - Sachet Mittal / @MittalSachet

01/27/2019 at 07:37AM

15
#436 - Miki Tebeka / @tebeka

01/27/2019 at 08:03AM

15
#437 - Rajit Singh / @rajitbsingh

01/30/2019 at 10:31AM

15
#438 - Bob_V / @Bob_V

01/30/2019 at 01:21PM

15
#439 - Colby Brown / @colbyabrown

02/11/2019 at 04:45AM

15
#440 - Wei Wen / @goweiwen

02/15/2019 at 07:23PM

15
#441 - Amado Antonini / @AmadoAntonini

03/07/2019 at 12:59PM

15
#442 - Guillaume Seren / @guillaumeseren

04/02/2019 at 10:08AM

15
#443 - woddy cyconer / @woddy1

04/22/2019 at 11:54AM

15
#444 - Iver Håkonsen / @HakonsenIver

04/23/2019 at 08:18PM

15
#445 - Lusington / @Lusington

04/24/2019 at 06:22PM

15
#446 - Phoon / @justflashhim

05/13/2019 at 12:24AM

15
#447 - YesSwear / @yesswore

05/20/2019 at 02:41PM

15
#448 - cinder 🔥 / @cyndrdev

06/27/2019 at 04:59PM

15
#449 - Noel Evans / @noelevans

08/01/2019 at 09:38AM

15
#450 - Eric Banisadr / @EBanisadr

08/07/2019 at 09:35PM