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

Turn the x - 328 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 20
  • Position: #32 / 82
  • Number of attempts: 2
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #851 / 1551
  • Number of attempts: 2
Swap values inside brackets - 2515 entries

Easy challenge.

  • Best score: 13
  • Best player score: 18
  • Position: #356 / 584
  • Number of attempts: 2
Add semicolons - 10891 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #2088 / 3077
  • Number of attempts: 1
One to Ten - 2234 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: 14
  • Position: #513 / 679
  • Number of attempts: 1
Remove quotes after first field - 380 entries

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

  • Best score: 16
  • Best player score: 24
  • Position: #65 / 91
  • Number of attempts: 3
wex
Twitter:

entered into 6 challenges

contributed 0 challenges