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

80 active golfers, 293 entries

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

08/27/2024 at 09:49PM

19
#2 - Peppa Pig / @PeppaPi95550250

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

20
#6 - Pablo Cárdenas / @pablo_cardenasb

08/28/2024 at 07:03PM

20
#7 - Joel Williams / @10WilliamsJoel

09/03/2024 at 11:42AM

20
#8 - ShookerAndBeta / @Shooker2012

09/04/2024 at 12:48PM

21
#9 - nickGPT / @nickandbro

08/26/2024 at 06:54PM

21
#10 - tobi256 / @tobi256

08/26/2024 at 08:56PM

21
#11 - akovaski / @akovaski

08/27/2024 at 01:30AM

21
#12 - MartnRamtin / @MartnRamtin

08/27/2024 at 10:47AM

21
#13 - Karim / @KarimIbrahim

08/28/2024 at 05:29AM

21
#14 - Sander Meij / @SanderMeij

08/28/2024 at 01:15PM

21
#15 - John Huynh / @huynh_j93

08/28/2024 at 06:30PM

21
#16 - Evan McGorty / @EvanMcGorty

08/28/2024 at 07:25PM

21
#17 - Henry Sloan / @HenryKSloan

08/30/2024 at 03:12AM

21
#18 - Reese / @figadore

08/30/2024 at 10:27PM

21
#19 - Riz Joj / @rizjoj

08/31/2024 at 03:07AM

21
#20 - ilyas / @Ahaaah2071

09/02/2024 at 03:11PM

21
#21 - rhasarub / @rhasarub

09/05/2024 at 09:32AM

21
#22 - Serbaf / @Serbaf

09/05/2024 at 12:59PM

21
#23 - Casey O'Donnell / @CaseyOD15519082

09/08/2024 at 08:27PM

22
#24 - Phin Jensen / @phinjensen

08/26/2024 at 07:55PM

22
#25 - Patrick Hurley / @phurley

08/26/2024 at 09:18PM

22
#26 - Calum Smith / @cpmsmith

08/26/2024 at 09:58PM

22
#27 - Anton / @Sobes76rus

08/28/2024 at 07:34PM

22
#28 - Yannick Peter / @funkymcb

08/29/2024 at 10:26AM

22
#29 - z0rzi / @z0rzi

08/29/2024 at 12:19PM

22
#30 - Elijah Smith / @theincompletedetective

08/31/2024 at 04:32PM