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

164 active golfers, 658 entries

Leaderboard (lowest score wins):
19
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

08/27/2024 at 09:49PM

19
#2 - Peppa Pig / @PeppaPigSg

08/29/2024 at 12:57AM

19
#3 - John Braxler / @braxler

08/29/2024 at 01:42PM

19
#4 - tskepla / @tskepla

09/02/2024 at 02:03PM

19
#5 - Oogway101 / @ninja2004123

09/04/2024 at 11:30PM

19
#6 - Alex Lewin / @_AlexLewin

10/09/2024 at 12:56PM

19
#7 - rasputins / @rasputins

10/21/2024 at 09:15PM

19
#8 - got_windy / @insomnight

10/23/2024 at 02:04AM

19
#9 - Berel94 / @Berel94

10/25/2024 at 07:48PM

19
#10 - Wim Stockman / @wimstockman

11/10/2024 at 02:12PM

19
#11 - Sam W / @samw-improbable

01/02/2025 at 02:25PM

19
#12 - ahenches / @ahenches

02/21/2025 at 07:46PM

19
#13 - Abdelrahman Madkour / @a3madkour

04/08/2025 at 02:26PM

19
#14 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:19AM

19
#15 - winter-loo / @winter-loo

06/22/2025 at 07:56AM

19
#16 - Pierre Senellart / @PierreSenellart

08/05/2025 at 07:29AM

19
#17 - canabadyweb / @canabadyweb

08/09/2025 at 11:55AM

19
#18 - Aly Thobani / @alythobani

11/24/2025 at 06:16AM

19
#19 - Gavin / @GavinKoeng

12/02/2025 at 05:26PM

19
#20 - Whitaker Trebella / @wtrebella

01/07/2026 at 10:27AM

20
#21 - Pablo Cárdenas / @pablo_cardenasb

08/28/2024 at 07:03PM

20
#22 - Joel Williams / @10WilliamsJoel

09/03/2024 at 11:42AM

20
#23 - ShookerAndBeta / @Shooker2012

09/04/2024 at 12:48PM

20
#24 - Aurélien Boeuf / @aurelbof

09/12/2024 at 01:18PM

20
#25 - Janusz Spatz / @janusz-anue

09/14/2024 at 10:39AM

20
#26 - Jean George / @JeanGeo20504212

09/15/2024 at 12:01AM

20
#27 - cgamiz / @cgamiz

09/19/2024 at 01:21AM

20
#28 - Simon / @hommels

09/29/2024 at 04:30PM

20
#29 - Gustav Kristensen / @gustavkrist

10/01/2024 at 04:09PM

20
#30 - demouo / @demouo

10/21/2024 at 02:07PM