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 9v0066cbb6a1000000000345

Remove adjacent duplicates

Try to find a way to remove adjacent duplicate letters.

Start file
a a d d j a c c c c e n t t t t d u p p p l i i i c a a t t e e w o r d d d d s s
End file
a d j a c e n t d u p l i c a t e w o r d s

View Diff

1c1
< a a d d j a c c c c e n t t t t d u p p p l i i i c a a t t e e w o r d d d d s s
---
> a d j a c e n t d u p l i c a t e w o r d s

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 100 remaining solutions by signing in and submitting your own entry
#101 Yawar / @mohdyawars - Score: 194 - 09/03/24 @ 04:51
<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>jjkkjhhhhhhhhhhhhhhllxljkjxhxhxlllllxxxxxxxllllhhhhxa<Esc>hs<Esc>uaa <Esc>lllllllllzxxxxxxlljjjhhhxllllllhxxxhxlllllhxxxxlllllxhxlllhxxllhllhxxlllllllllxxxxxhxllxxlhhhhhhhhhwwwwwwbbbbbbbbbbbbb:wq<CR>

0 comments


Created by: @maharba6

101 active golfers, 362 entries

Leaderboard (lowest score wins):
33
#61 - Rehpotsirhc / @Rehpotsirhc-z

08/26/2024 at 02:37AM

33
#62 - ak@developer / @Ajay-056

09/15/2024 at 09:24AM

34
#63 - Kevin Cardona / @kevincardona

09/03/2024 at 06:46PM

35
#64 - Alex Khakhlyuk / @khakhlyuk

09/07/2024 at 04:30PM

35
#65 - MatFriend / @MatFriend

09/09/2024 at 11:47PM

35
#66 - Artur Sarlo / @artursarlo

09/27/2024 at 08:53PM

35
#67 - IroncladDev 🔩 / @IroncladDev

10/09/2024 at 12:51PM

36
#68 - 765859220 / @765859220

08/27/2024 at 06:43AM

36
#69 - Giacomo Sansone / @pcineverdies

09/01/2024 at 03:24PM

36
#70 - Stoyan Dimov / @stoyandimov

09/02/2024 at 01:22PM

37
#71 - Kaito Kikuchi / @chorkaichan

09/01/2024 at 01:03PM

38
#72 - Luis Fernando Rodríguez Vargas / @LuisFerRodVar

08/27/2024 at 12:41AM

38
#73 - Diego Giorgini / @diegobit

08/29/2024 at 11:56AM

38
#74 - Willy / @Willy6932612311

08/30/2024 at 07:26AM

38
#75 - DayuanX / @DayuanX

09/29/2024 at 08:28AM

39
#76 - promisel / @promisel

09/05/2024 at 07:44AM

40
#77 - maharba6 / @maharba6

08/26/2024 at 12:43AM

40
#78 - Max Strootmann / @MaxStrootmann

08/26/2024 at 06:24PM

40
#79 - sleak wise / @SleakWise78883

08/26/2024 at 07:57PM

41
#80 - reirob / @reirob

08/29/2024 at 12:27AM

41
#81 - Julian-L-Avila / @Julian-L-Avila

09/02/2024 at 06:46PM

41
#82 - Brett Collins / @brett-collins_cbhq

10/04/2024 at 04:00PM

41
#83 - Sutter099 / @Sutter099

10/08/2024 at 12:56PM

42
#84 - Brian Yu / @brian-yu

08/26/2024 at 09:10PM

42
#85 - Matthieu Porte / @matthieuporte

09/01/2024 at 12:03PM

44
#86 - Kenneth Yang / @microBob

08/29/2024 at 02:43PM

45
#87 - Jason Tucker / @tucker87

09/04/2024 at 04:22AM

47
#88 - stcrd / @stcrd

09/10/2024 at 10:33AM

47
#89 - Shywizz / @Shywizz

09/22/2024 at 03:07PM

48
#90 - Conor Flynn / @conor-f

08/27/2024 at 08:49AM