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

Enumerate Bullets

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

Start file
# This is an enumeration of bullet points!
## Usual placeholders:
- foo
- bar
- baz

- (qux)
- (quux)
## pythonic-placeholders:
- spam
- eggs

## cryptographic placeholders:

- alice
- bob
- eve
- trudy

### Search-related:
- needle
- haystack
End file
# This is an enumeration of bullet points!
## Usual placeholders:
01. foo
02. bar
03. baz

04. (qux)
05. (quux)
## pythonic-placeholders:
06. spam
07. eggs

## cryptographic placeholders:

08. alice
09. bob
10. eve
11. trudy

### Search-related:
12. needle
13. haystack

View Diff

3,5c3,5
< - foo
< - bar
< - baz
---
> 01. foo
> 02. bar
> 03. baz
7,8c7,8
< - (qux)
< - (quux)
---
> 04. (qux)
> 05. (quux)
10,11c10,11
< - spam
< - eggs
---
> 06. spam
> 07. eggs
15,18c15,18
< - alice
< - bob
< - eve
< - trudy
---
> 08. alice
> 09. bob
> 10. eve
> 11. trudy
21,22c21,22
< - needle
< - haystack
---
> 12. needle
> 13. haystack

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 88 remaining solutions by signing in and submitting your own entry
#89 TomoProg / @TomoProg - Score: 119 - 12/12/24 @ 05:50
jj<C-V>jjld<C-V>jjI01. <Esc>j<C-A>j<C-A><C-A>jj<C-V>jhd<C-V>jI04. <Esc>j<C-A>jjh<C-V>jdi05.<Esc>u<C-V>jI9<BS>06.<Esc>j<C-A>jjjjh<C-V>jjjld<C-V>jjjI06<BS>7<BS>8. <Esc>j<C-A>j<C-A><C-A>j<C-A><C-A><C-A>kkhi0<Esc>j:21<CR><C-V>jd<C-V>jI12.<Esc>j<C-A>ZZ

0 comments


Created by: @ArneWinter5

89 active golfers, 327 entries

Leaderboard (lowest score wins):
36
#61 - UrbanNinja1010 / @UrbanNinja1010

04/07/2025 at 09:40AM

38
#62 - Duy nguyễn / @Duycld03

08/11/2023 at 02:02PM

40
#63 - Filipe 💙 / @ABarroso

11/29/2020 at 09:33PM

40
#64 - Siddharth Murali / @SidTweetsALess

07/09/2022 at 02:53PM

41
#65 - Moritz Kraus / @MoritzKraus4

09/03/2022 at 07:39PM

43
#66 - Ryo_Ishimoto / @RIshimoto

03/04/2024 at 07:47AM

45
#67 - ~~~ / @5AXZmAwcmUg0fOO

05/30/2021 at 09:02AM

49
#68 - Thomas Hiron / @thomashiron

02/20/2023 at 01:26PM

51
#69 - Neverlandrunner / @neverlandrunner

12/06/2020 at 10:14AM

51
#70 - Martin LOUAZEL / @Zbrahark

02/19/2021 at 12:55PM

51
#71 - Maorun / @Maorun11

12/17/2021 at 04:49PM

51
#72 - Ashwin Rajesh / @VanillaViking

05/12/2024 at 05:48AM

54
#73 - Kyle / @Kyle98675198

05/30/2021 at 02:17AM

56
#74 - ._. / @Katharsic

11/18/2022 at 05:08PM

56
#75 - nickGPT / @nickandbro

08/24/2024 at 03:47AM

59
#76 - Driver / @zhouyijiaren

08/22/2022 at 12:23PM

61
#77 - Arthur DELORT / @artDelort

06/27/2022 at 09:37AM

62
#78 - Victor Liu / @alsoMee2

11/29/2022 at 04:21PM

67
#79 - Gunter Kluge / @KlugeGunter

04/06/2022 at 09:31PM

68
#80 - Nick Salesky / @NickSalesky

08/13/2022 at 04:06PM

69
#81 - quasineutral / @quasineutral

08/15/2023 at 11:56PM

73
#82 - Sammit / @somemeatjain

01/23/2022 at 12:19PM

75
#83 - Michael Jaeger / @jaeger_mi

04/06/2022 at 04:46PM

75
#84 - Josh Pius / @JoshPius98

08/26/2023 at 12:12PM

90
#85 - KåtVeganskKurd / @KurdKat

08/03/2021 at 08:42AM

99
#86 - hono-n / @hono-n

12/12/2024 at 05:42AM

100
#87 - fff / @fff51460170

02/21/2021 at 06:09AM

110
#88 - yujianiki20 / @yujianiki20

12/12/2024 at 05:56AM

119
#89 - TomoProg / @TomoProg

12/12/2024 at 05:50AM