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 [challenge ID]

Played Challenges

Paste a column after a column - 2557 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 44
  • Position: #472 / 558
  • Number of attempts: 1
HS exam question - 1589 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #260 / 417
  • Number of attempts: 1
prepend * to every non-blank line - 6353 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 14
  • Position: #916 / 1549
  • Number of attempts: 3
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2389 / 4192
  • Number of attempts: 2
Craig Ferguson
Twitter:

software engineer @monzo. ex-@tarides_ ⛡️ https://t.co/hv7GHZBvAf πŸ΄σ §σ ’σ ³σ £σ ΄σ ΏπŸ‡¬πŸ‡§πŸ‡ͺπŸ‡Ί he/him

entered into 4 challenges

contributed 0 challenges