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):
24
#31 - chocolate / @chocola81394123

01/11/2021 at 03:26AM

24
#32 - roudens / @roudens2

01/17/2021 at 01:45AM

24
#33 - せいほう / @FICSQF

04/24/2021 at 12:23PM

24
#34 - mevmev / @mevmev8

08/21/2021 at 04:00PM

24
#35 - Neil Butler / @PinkyinParis

08/23/2021 at 03:09AM

24
#36 - Humbaba / @humbabu

01/04/2022 at 07:19PM

24
#37 - russellzhaomao / @russellzhaomao

05/22/2022 at 01:28PM

24
#38 - redbigyesnoGoThenWhy / @redbigyesno

06/10/2022 at 02:23PM

24
#39 - Peter Nyssen / @PeterNyssen

06/24/2022 at 02:58PM

24
#40 - Alex / @AlexanderHeatl2

07/06/2022 at 07:57PM

24
#41 - Janzen / @__Coos

10/07/2022 at 10:48AM

24
#42 - キムラ・OPEL・ユウジ / @kimurayuuji79

10/13/2022 at 03:48AM

24
#43 - Mrmclarrinson / @mrmclarrinson

12/12/2022 at 04:10PM

24
#44 - Marco Meinardi / @Kee__no

12/30/2022 at 02:00PM

24
#45 - FirstModus / @Nolimimer

04/08/2023 at 08:48PM

24
#46 - someone / @IKvacenok

06/13/2023 at 07:02PM

24
#47 - moh ayaya / @AyayaMoh

08/26/2023 at 08:04PM

24
#48 - 7733865@qq.com / @tjxwg

10/07/2023 at 07:52AM

24
#49 - naka / @nak38223985244

10/21/2023 at 10:53AM

24
#50 - Luoyb / @Luoyb

10/25/2023 at 02:20AM

24
#51 - evgenii-kokorin / @evgenii-kokorin

02/17/2024 at 07:35AM

25
#52 - quemeraisc / @quemeraisc

05/24/2022 at 08:38AM

29
#53 - Vinícius Hoyer / @viniciushoyer

11/26/2020 at 02:39PM

29
#54 - satetheus-vimgolf / @SVimgolf

07/24/2022 at 08:34AM

31
#55 - Daniel Harding / @living_180

04/15/2022 at 03:39PM

31
#56 - steve / @steve35773420

12/01/2022 at 04:41PM

33
#57 - Manas / @weirdsmiley_

11/29/2020 at 01:09AM

33
#58 - Cesare Tagliaferri / @taglia

11/22/2021 at 09:48AM

33
#59 - 盧小小 / @VegetaLu

04/02/2022 at 10:41AM

34
#60 - jasonlee / @jasonle61136657

03/30/2023 at 03:54PM