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 44 remaining solutions by signing in and submitting your own entry
#45 fff / @fff51460170 - Score: 100 - 02/21/21 @ 06:09
/-<CR><Up>qana<BS>01.<Esc>q4@an2@a4@an2@a:4<CR>/0.1<BS><BS>1<BS><BS>1.<CR>r2<Down>r3nr4nr5nr6nr7nr8nr9na<BS><BS>10<Esc>na<BS><BS>11<Esc>na<BS><BS>12<Esc>na<BS><BS>12<BS>3<Esc>:wq<CR>

0 comments


Created by: @ArneWinter5

45 active golfers, 168 entries

Leaderboard (lowest score wins):
31
#31 - Daniel Harding / @living_180

04/15/2022 at 03:39PM

33
#32 - Manas / @weirdsmiley_

11/29/2020 at 01:09AM

33
#33 - Cesare Tagliaferri / @taglia

11/22/2021 at 09:48AM

33
#34 - 盧小小 / @VegetaLu

04/02/2022 at 10:41AM

40
#35 - Filipe 💙 / @ABarroso

11/29/2020 at 09:33PM

45
#36 - ~~~ / @5AXZmAwcmUg0fOO

05/30/2021 at 09:02AM

51
#37 - Neverlandrunner / @neverlandrunner

12/06/2020 at 10:14AM

51
#38 - Martin LOUAZEL / @Zbrahark

02/19/2021 at 12:55PM

51
#39 - Maorun / @Maorun11

12/17/2021 at 04:49PM

54
#40 - Kyle / @Kyle98675198

05/30/2021 at 02:17AM

67
#41 - Gunter Kluge / @KlugeGunter

04/06/2022 at 09:31PM

73
#42 - Sammit / @somemeatjain

01/23/2022 at 12:19PM

75
#43 - Michael Jaeger / @jaeger_mi

04/06/2022 at 04:46PM

90
#44 - KåtVeganskKurd / @KurdKat

08/03/2021 at 08:42AM

100
#45 - fff / @fff51460170

02/21/2021 at 06:09AM