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

100 active golfers, 349 entries

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

09/05/2024 at 12:59PM

22
#>38 - Serbaf / @Serbaf

09/05/2024 at 12:49PM

23
#>41 - Serbaf / @Serbaf

09/05/2024 at 12:32PM

23
#>41 - Serbaf / @Serbaf

09/05/2024 at 12:47PM

25
#>51 - Serbaf / @Serbaf

09/05/2024 at 12:39PM

31
#>59 - Serbaf / @Serbaf

09/09/2024 at 02:08PM

34
#>62 - Serbaf / @Serbaf

09/05/2024 at 12:38PM

35
#>62 - Serbaf / @Serbaf

09/05/2024 at 12:09PM

46
#>85 - Serbaf / @Serbaf

09/05/2024 at 12:04PM

54
#>91 - Serbaf / @Serbaf

09/05/2024 at 12:37PM

59
#>94 - Serbaf / @Serbaf

09/05/2024 at 12:12PM

63
#>94 - Serbaf / @Serbaf

09/05/2024 at 12:03PM