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

Swap values inside brackets - 1795 entries

Easy challenge.

  • Best score: 13
  • Best player score: 32
  • Number of attempts: 1
remove lines containing the word "reader" - 2259 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Just the middle - 9765 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
One to Ten - 1375 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: 12
  • Number of attempts: 5
That hyphen - 2263 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 4
I forgot quotes - 12879 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 4
Delete to the end of the current line - 565 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 2
Applying same text modification in several lines - 2040 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 5
One number per line - 14428 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 9
Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 17
Box it - 4495 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 7
hn9u
Twitter:

entered into 11 challenges

contributed 0 challenges