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 34 remaining solutions by signing in and submitting your own entry
#35 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

35 active golfers, 137 entries

Leaderboard (lowest score wins):
20
#1 - Smylers / @Smylers2

11/26/2020 at 09:57PM

20
#2 - Saki Gw / @Sakigw

11/27/2020 at 10:54AM

20
#3 - Jon Krause / @jkrause314

11/29/2020 at 07:17AM

20
#4 - Ihor / @Ihor96382508

11/29/2020 at 09:09AM

20
#5 - Hugh / @haquaman

11/30/2020 at 07:29PM

20
#6 - John Braxler / @braxler

12/01/2020 at 03:56PM

20
#7 - Demian Martinez / @demianuco

12/09/2020 at 08:19PM

20
#8 - Jung Yeon Park / @park_jungy

01/11/2021 at 04:18PM

20
#9 - A A A / @37fatos

01/17/2021 at 06:19PM

20
#10 - Tinko Minko / @tandikula

01/18/2021 at 09:11PM

20
#11 - Horst / @Horst91706815

01/21/2021 at 06:02PM

20
#12 - Jianfeng / @Jianfen22425058

02/03/2021 at 08:08AM

20
#13 - hamb / @hamb88140219

02/20/2021 at 04:24AM

20
#14 - Michael / @Michael62785035

05/24/2021 at 10:09PM

20
#15 - grsh / @girish_i_am

05/24/2021 at 10:55PM

20
#16 - Arya Kumar / @SusSquirrel

06/06/2021 at 09:34PM

20
#17 - 悟史 / @A1OBJTxN5fTg5EJ

07/14/2021 at 10:10AM

20
#18 - AAbraxas / @AAbraxas1

08/16/2021 at 08:01PM

20
#19 - Miłosz Łakomy / @foobar01123

08/18/2021 at 08:54AM

20
#20 - Roman Privalov / @RomanPrivalov

09/03/2021 at 11:51AM

24
#21 - MrRubiksSC / @RubiksSc

11/27/2020 at 02:49AM

24
#22 - chocolate / @chocola81394123

01/11/2021 at 03:26AM

24
#23 - roudens / @roudens2

01/17/2021 at 01:45AM

24
#24 - せいほう / @FICSQF

04/24/2021 at 12:23PM

24
#25 - mevmev / @mevmev8

08/21/2021 at 04:00PM

24
#26 - Neil Butler / @PinkyinParis

08/23/2021 at 03:09AM

29
#27 - Vinícius Hoyer / @viniciushoyer

11/26/2020 at 02:39PM

33
#28 - Manas / @weirdsmiley_

11/29/2020 at 01:09AM

40
#29 - Filipe Barroso 💙 / @ABarroso

11/29/2020 at 09:33PM

45
#30 - ~~~ / @5AXZmAwcmUg0fOO

05/30/2021 at 09:02AM