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

139 active golfers, 540 entries

Leaderboard (lowest score wins):
35
#91 - IroncladDev / @IroncladDev

10/09/2024 at 12:51PM

36
#92 - 765859220 / @765859220

08/27/2024 at 06:43AM

36
#93 - Giacomo Sansone / @pcineverdies

09/01/2024 at 03:24PM

36
#94 - Stoyan Dimov / @stoyandimov

09/02/2024 at 01:22PM

37
#95 - Kaito Kikuchi / @chorkaichan

09/01/2024 at 01:03PM

37
#96 - efettf / @efettf

11/01/2024 at 07:01PM

37
#97 - k1mosabe / @k1mosabe

12/03/2024 at 12:29AM

37
#98 - lilfelix / @lilfelix

04/15/2025 at 08:41PM

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

08/27/2024 at 12:41AM

38
#100 - Diego Giorgini / @diegobit

08/29/2024 at 11:56AM

38
#101 - Willy / @Willy6932612311

08/30/2024 at 07:26AM

38
#102 - DayuanX / @DayuanX

09/29/2024 at 08:28AM

38
#103 - ProGamerYeet / @ProGamerYeet

10/09/2024 at 07:57PM

38
#104 - ProggerX / @ProggerX

10/10/2024 at 02:14PM

38
#105 - luke37842 / @luke37842

11/05/2024 at 04:42PM

39
#106 - promisel / @promisel

09/05/2024 at 07:44AM

40
#107 - Max Strootmann / @MaxStrootmann

08/26/2024 at 06:24PM

40
#108 - sleak wise / @SleakWise78883

08/26/2024 at 07:57PM

41
#109 - reirob / @reirob

08/29/2024 at 12:27AM

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

09/02/2024 at 06:46PM

41
#111 - Brett Collins / @brett-collins_cbhq

10/04/2024 at 04:00PM

41
#112 - Sutter099 / @Sutter099

10/08/2024 at 12:56PM

42
#113 - Brian Yu / @brian-yu

08/26/2024 at 09:10PM

42
#114 - Matthieu Porte / @matthieuporte

09/01/2024 at 12:03PM

42
#115 - Daisuke Shimada / @cimadai

02/20/2025 at 12:28AM

43
#116 - Swaraj Dash / @swarajdash

12/25/2024 at 10:22AM

43
#117 - Henrijs Kravals / @kenryhraval

01/12/2025 at 05:12PM

44
#118 - Kenneth Yang / @microBob

08/29/2024 at 02:43PM

45
#119 - Jason Tucker / @tucker87

09/04/2024 at 04:22AM

45
#120 - PhinJ / @PhinJ

02/07/2025 at 07:42PM