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

162 active golfers, 646 entries

Leaderboard (lowest score wins):
38
#121 - ProGamerYeet / @ProGamerYeet

10/09/2024 at 07:57PM

38
#122 - ProggerX / @ProggerX

10/10/2024 at 02:14PM

38
#123 - luke37842 / @luke37842

11/05/2024 at 04:42PM

39
#124 - promisel / @promisel

09/05/2024 at 07:44AM

40
#125 - Max Strootmann / @MaxStrootmann

08/26/2024 at 06:24PM

40
#126 - sleak wise / @SleakWise78883

08/26/2024 at 07:57PM

41
#127 - reirob / @reirob

08/29/2024 at 12:27AM

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

09/02/2024 at 06:46PM

41
#129 - Brett Collins / @brett-collins_cbhq

10/04/2024 at 04:00PM

41
#130 - Sutter099 / @Sutter099

10/08/2024 at 12:56PM

42
#131 - Brian Yu / @brian-yu

08/26/2024 at 09:10PM

42
#132 - Matthieu Porte / @matthieuporte

09/01/2024 at 12:03PM

42
#133 - Daisuke Shimada / @cimadai

02/20/2025 at 12:28AM

43
#134 - Swaraj Dash / @swarajdash

12/25/2024 at 10:22AM

43
#135 - Henrijs Kravals / @kenryhraval

01/12/2025 at 05:12PM

43
#136 - Matthew Cooper / @mkcmkc

06/25/2025 at 12:43AM

44
#137 - Kenneth Yang / @microBob

08/29/2024 at 02:43PM

45
#138 - Jason Tucker / @tucker87

09/04/2024 at 04:22AM

45
#139 - PhinJ / @PhinJ

02/07/2025 at 07:42PM

45
#140 - Prine4 / @Prine4

04/23/2025 at 02:51PM

46
#141 - OisinWard / @OisinWard

11/20/2024 at 03:20PM

47
#142 - stcrd / @stcrd

09/10/2024 at 10:33AM

47
#143 - Shywizz / @Shywizz

09/22/2024 at 03:07PM

47
#144 - bennetthunter10 / @bennetthunter10

03/26/2025 at 04:17PM

47
#145 - silverleyjr / @silverleyjr

04/04/2025 at 03:14AM

47
#146 - Will Powers / @wpowers42

08/03/2025 at 05:39PM

48
#147 - Conor Flynn / @conor-f

08/27/2024 at 08:49AM

48
#148 - Cdrman Fu / @Futarimiti

09/17/2024 at 08:18PM

49
#149 - Theo / @theol-git

09/03/2024 at 01:46PM

52
#150 - Stefan Krist / @nerdyness_sk

08/31/2024 at 05:58PM