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):
23
#61 - ばやし / @shin5884_kt

09/15/2024 at 03:45AM

23
#62 - Pablo Acuna / @pacuna

11/08/2024 at 03:42AM

23
#63 - SRINIVASU SALADI / @SRINIVASUS22587

03/28/2025 at 11:18AM

24
#64 - fluxion-t / @fluxion-t

08/26/2024 at 09:49PM

24
#65 - Andrey Rakhubovsky / @omnster

08/27/2024 at 09:05AM

24
#66 - Karen Mkrtumyan / @KARM99

08/27/2024 at 07:38PM

24
#67 - Fionn Fitzmaurice / @fionn

08/29/2024 at 05:56PM

24
#68 - Martijn / @martijnf1

08/31/2024 at 10:18AM

24
#69 - Yuta Hinokuma / @higumachan

09/13/2024 at 03:51AM

24
#70 - reatter / @reatter

09/17/2024 at 12:21PM

24
#71 - joachimnielandt / @joachimnielandt

09/20/2024 at 01:53PM

25
#72 - Victor Ramirez / @virako

08/27/2024 at 09:09AM

26
#73 - ingonerd / @ingonerd

09/02/2024 at 06:50AM

26
#74 - Maxime Delhaye / @friphazeph

03/28/2025 at 11:14AM

27
#75 - Felix Pankratz / @panki27

08/27/2024 at 07:17AM

27
#76 - Alex Weeren / @AlexWeeren

09/05/2024 at 06:14PM

27
#77 - mgh14 / @mgh14

09/09/2024 at 09:16PM

28
#78 - Simon Poirier / @simpoir

08/27/2024 at 01:42AM

29
#79 - Alexander Lazarov / @alexander-lazarov

09/03/2024 at 11:19AM

30
#80 - Sakal77 / @Sakal77

09/18/2024 at 08:29AM

31
#81 - Vishal Subramanyam / @VishalSubramanyam

08/31/2024 at 06:12PM

32
#82 - maharba6 / @maharba6

01/14/2025 at 10:12PM

33
#83 - Rehpotsirhc / @Rehpotsirhc-z

08/26/2024 at 02:37AM

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

09/15/2024 at 09:24AM

34
#85 - Kevin Cardona / @kevincardona

09/03/2024 at 06:46PM

34
#86 - Eran / @RedSponge

11/11/2024 at 02:36PM

34
#87 - jaunxter / @jaunxter

03/31/2025 at 11:32PM

35
#88 - Alex Khakhlyuk / @khakhlyuk

09/07/2024 at 04:30PM

35
#89 - MatFriend / @MatFriend

09/09/2024 at 11:47PM

35
#90 - Artur Sarlo / @artursarlo

09/27/2024 at 08:53PM