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

181 active golfers, 726 entries

Leaderboard (lowest score wins):
21
#61 - Rafe Murray / @rafe-murray

01/16/2026 at 09:47AM

21
#62 - 000AG000 / @000AG000

05/06/2026 at 06:12AM

22
#63 - Phin Jensen / @phinjensen

08/26/2024 at 07:55PM

22
#64 - Patrick Hurley / @phurley

08/26/2024 at 09:18PM

22
#65 - Calum Smith / @cpmsmith

08/26/2024 at 09:58PM

22
#66 - Anton / @Sobes76rus

08/28/2024 at 07:34PM

22
#67 - Yannick Peter / @funkymcb

08/29/2024 at 10:26AM

22
#68 - z0rzi / @z0rzi

08/29/2024 at 12:19PM

22
#69 - Elijah Smith / @theincompletedetective

08/31/2024 at 04:32PM

22
#70 - Евгений Шевченко / @3530385

09/03/2024 at 03:05PM

22
#71 - Stephen Edwards / @sventi555

09/04/2024 at 02:47PM

22
#72 - x03n046 / @x03n046

09/09/2024 at 04:27AM

22
#73 - 🥚 / @schmarles_

10/23/2024 at 06:12AM

22
#74 - Alex Sweet / @asweet-confluent

01/09/2025 at 04:54PM

22
#75 - Nimmidev / @Nimmidev

01/11/2025 at 07:00PM

22
#76 - Martijn / @martijnf1

10/18/2025 at 08:31PM

22
#77 - irocendar / @irocendar

11/06/2025 at 10:36PM

22
#78 - Anan / @anscian

06/19/2026 at 07:54PM

22
#79 - UdonSari / @udonsari

06/21/2026 at 10:26PM

23
#80 - Diwakar Singh Parmar / @parmardiwakar150

08/26/2024 at 12:50PM

23
#81 - Roger Stoltz / @rogsto1

08/27/2024 at 09:15AM

23
#82 - ばやし / @shin5884_kt

09/15/2024 at 03:45AM

23
#83 - Pablo Acuna / @pacuna

11/08/2024 at 03:42AM

23
#84 - SRINIVASU SALADI / @SRINIVASUS22587

03/28/2025 at 11:18AM

23
#85 - patrickmartinasin / @patrickmartinasin

04/30/2025 at 04:02PM

23
#86 - Salvatore Farina / @sfarina

05/08/2026 at 02:09AM

23
#87 - B Madhusudan / @bmadhusu

06/22/2026 at 01:44AM

24
#88 - fluxion-t / @fluxion-t

08/26/2024 at 09:49PM

24
#89 - Andrey Rakhubovsky / @omnster

08/27/2024 at 09:05AM

24
#90 - Karen Mkrtumyan / @KARM99

08/27/2024 at 07:38PM