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

prepend * to every non-blank line - 5977 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #796 / 1468
  • Number of attempts: 2
Swap values inside brackets - 2433 entries

Easy challenge.

  • Best score: 14
  • Best player score: 19
  • Position: #372 / 561
  • Number of attempts: 1
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Position: #2108 / 2989
  • Number of attempts: 3
One to Ten - 2095 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 15
  • Position: #520 / 642
  • Number of attempts: 2
Remove quotes after first field - 322 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 27
  • Position: #77 / 80
  • Number of attempts: 1
Tim Clifford
Twitter:

entered into 5 challenges

contributed 0 challenges