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

101 active golfers, 362 entries

Leaderboard (lowest score wins):
22
#31 - Phin Jensen / @phinjensen

08/26/2024 at 07:55PM

22
#32 - Patrick Hurley / @phurley

08/26/2024 at 09:18PM

22
#33 - Calum Smith / @cpmsmith

08/26/2024 at 09:58PM

22
#34 - Anton / @Sobes76rus

08/28/2024 at 07:34PM

22
#35 - Yannick Peter / @funkymcb

08/29/2024 at 10:26AM

22
#36 - z0rzi / @z0rzi

08/29/2024 at 12:19PM

22
#37 - Elijah Smith / @theincompletedetective

08/31/2024 at 04:32PM

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

09/03/2024 at 03:05PM

22
#39 - Stephen Edwards / @sventi555

09/04/2024 at 02:47PM

22
#40 - x03n046 / @x03n046

09/09/2024 at 04:27AM

23
#41 - Diwakar Singh Parmar / @parmardiwakar150

08/26/2024 at 12:50PM

23
#42 - Roger Stoltz / @rogsto1

08/27/2024 at 09:15AM

23
#43 - ばやし / @shin5884_kt

09/15/2024 at 03:45AM

24
#44 - fluxion-t / @fluxion-t

08/26/2024 at 09:49PM

24
#45 - Andrey Rakhubovsky / @omnster

08/27/2024 at 09:05AM

24
#46 - Karen Mkrtumyan / @KARM99

08/27/2024 at 07:38PM

24
#47 - Fionn Fitzmaurice / @fionn

08/29/2024 at 05:56PM

24
#48 - Martijn / @martijnf1

08/31/2024 at 10:18AM

24
#49 - Yuta Hinokuma / @higumachan

09/13/2024 at 03:51AM

24
#50 - reatter / @reatter

09/17/2024 at 12:21PM

24
#51 - joachimnielandt / @joachimnielandt

09/20/2024 at 01:53PM

25
#52 - Victor Ramirez / @virako

08/27/2024 at 09:09AM

26
#53 - ingonerd / @ingonerd

09/02/2024 at 06:50AM

27
#54 - Felix Pankratz / @panki27

08/27/2024 at 07:17AM

27
#55 - Alex Weeren / @AlexWeeren

09/05/2024 at 06:14PM

27
#56 - mgh14 / @mgh14

09/09/2024 at 09:16PM

28
#57 - Simon Poirier / @simpoir

08/27/2024 at 01:42AM

29
#58 - Alexander Lazarov / @alexander-lazarov

09/03/2024 at 11:19AM

30
#59 - Sakal77 / @Sakal77

09/18/2024 at 08:29AM

31
#60 - Vishal Subramanyam / @VishalSubramanyam

08/31/2024 at 06:12PM