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

Numbering a List

Pretty simple, number the list.

Start file
line one
line two
line three
line four
line five
line six
line seven
line eight
End file
1. line one
2. line two
3. line three
4. line four
5. line five
6. line six
7. line seven
8. line eight

View Diff

1,8c1,8
< line one
< line two
< line three
< line four
< line five
< line six
< line seven
< line eight
---
> 1. line one
> 2. line two
> 3. line three
> 4. line four
> 5. line five
> 6. line six
> 7. line seven
> 8. line eight

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 653 remaining solutions by signing in and submitting your own entry
#654 Daniel Marín / @dmar1n - Score: 276 - 06/02/24 @ 10:16
<C-V>lljjjjjhhhjjjiI><C-V>jjjjjjji1. hi.<Esc>kkkkkkkhjk<C-V>jjjjjjjr.Vbbljjkk<Esc>jkh<C-V>jjjjlllllljjji1<Esc>iv<BS><C-V>hh<BS><BS><C-V>hh<BS><BS>kk<BS><BS><Esc>kkkkkkkbb<C-V>jjjjlllllljjjr1<C-V>jjjjjllllljjdjr2jr2r3jr4jr5jr6jr7jr8llih<BS>kk<BS><BS><Esc>kkkkkkk<C-V>jjjjjjja1<Esc>lhl<C-V>iiil<Esc>kkkkkkki kj<BS><BS><Esc>ji <Esc>ji j<BS><Esc>ji<Esc>li <Esc>ji<Esc>l hi<Esc>li <Esc>ji <Esc>ji <Esc>ji<Esc>li l:<BS><Esc>wqbbbllxi:<BS><Esc>:wq<CR>

0 comments


Created by: @khamer

654 active golfers, 1935 entries

Leaderboard (lowest score wins):
44
#631 - Scott Christopherson / @Scottopherson

04/25/2012 at 04:32PM

44
#632 - Ilya / @robinzonishe

02/24/2014 at 06:42PM

46
#633 - Hirokazu Yoshida / @yoppiblog

04/24/2011 at 07:55AM

47
#634 - Masashi Iizuka / @uochan

04/03/2011 at 02:22AM

49
#635 - Sergey Kim / @skim1776

08/05/2011 at 05:21AM

50
#636 - nelsonenzo / @nelsonenzo

04/12/2011 at 08:07AM

51
#637 - l4u / @0xl4u

03/31/2011 at 06:18AM

51
#638 - Brad Heller / @bradhe

07/05/2011 at 05:36PM

53
#639 - Paul Chandler / @chandlpa

12/22/2013 at 09:13PM

54
#640 - Douglas Gibb / @douglasgibb

04/05/2011 at 06:25PM

55
#641 - Aaron LaRoche / @alaroche22

06/03/2011 at 01:27PM

56
#642 - Piotr Żurkowski / @kareth92

04/17/2011 at 10:17PM

57
#643 - Ricardo Rey / @Changowero

06/21/2011 at 07:38PM

60
#644 - Joaquin Coronel / @cantstoptheguac

02/03/2017 at 03:53PM

61
#645 - Vernon Thommeret / @synotic

07/12/2011 at 01:12AM

62
#646 - John Krueger / @jtmkrueger

03/17/2011 at 07:55PM

62
#647 - Cam Peterson / @Cam_Peterson

08/02/2011 at 05:58AM

63
#648 - Alex Kolesnikov / @k0lesman

05/01/2011 at 12:01AM

64
#649 - Victorius Turnip / @vturnip

05/24/2011 at 11:20PM

64
#650 - Bùi Lê Huỳnh / @wyattbui

06/09/2024 at 03:50AM

73
#651 - sankarj / @sankarj

02/19/2012 at 03:45PM

73
#652 - Jurica / @Jurica34581259

11/16/2018 at 04:05PM

74
#653 - David Moulton / @dmoulton

03/17/2011 at 08:01PM

276
#654 - Daniel Marín / @dmar1n

06/02/2024 at 10:16AM