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 5c93945c9caf21000ca842f7

Two pairs of cluster of letters creates word

Clean and group.

Start file
't', 'wo', 'pa','irs', 'o', 'f','clus','ter', 'o', 'f', 'lett', 'ers', 'crea', 'tes', 'wor','d'
End file
two
pairs
of
cluster
of
letters
creates
word

View Diff

1c1,8
< 't', 'wo', 'pa','irs', 'o', 'f','clus','ter', 'o', 'f', 'lett', 'ers', 'crea', 'tes', 'wor','d'
---
> two
> pairs
> of
> cluster
> of
> letters
> creates
> word

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 91 remaining solutions by signing in and submitting your own entry
#92 David Accomazzo / @WordsofDefiance - Score: 119 - 04/05/19 @ 03:22
:s/,//g<CR><Up>:<Up><Left><Left><Left><BS>'<CR><Right>xw<BS>ww<Right>xa <Esc>wwa<Del><Esc>wwi<BS><Esc>wwi<BS><Esc>:s/<CR><BS><BS><BS><BS>\s/>CR?<BS><BS><BS><BS><CR><CR><Esc>u;llli<CR><Right><Right><Right><Right><Right><CR><Right><Right><Right><Left><CR><Right><Right><Right><Right><Right><Right><Right><CR><Right><Right><CR><Right><Right><Right><Right><Right><Right><Right><CR><Right><Right><Right><Right><Right><Right><Right><CR><Esc>ZZ

0 comments


Created by: @SirAviles

92 active golfers, 388 entries

Leaderboard (lowest score wins):
72
#91 - venkatakrishnan / @venkatk_

04/15/2019 at 02:46AM

119
#92 - David Accomazzo / @WordsofDefiance

04/05/2019 at 03:22AM