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 by @Serbaf:

Unlock 12 remaining solutions by signing in and submitting your own entry
Created by: @maharba6

150 active golfers, 578 entries

Solutions by @Serbaf:
21
#42 - Serbaf / @Serbaf

09/05/2024 at 12:59PM

22
#>58 - Serbaf / @Serbaf

09/05/2024 at 12:49PM

23
#>64 - Serbaf / @Serbaf

09/05/2024 at 12:32PM

23
#>64 - Serbaf / @Serbaf

09/05/2024 at 12:47PM

25
#>77 - Serbaf / @Serbaf

09/05/2024 at 12:39PM

31
#>87 - Serbaf / @Serbaf

09/09/2024 at 02:08PM

34
#>91 - Serbaf / @Serbaf

09/05/2024 at 12:38PM

35
#>93 - Serbaf / @Serbaf

09/05/2024 at 12:09PM

46
#>130 - Serbaf / @Serbaf

09/05/2024 at 12:04PM

54
#>139 - Serbaf / @Serbaf

09/05/2024 at 12:37PM

59
#>142 - Serbaf / @Serbaf

09/05/2024 at 12:12PM

63
#>143 - Serbaf / @Serbaf

09/05/2024 at 12:03PM