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

Words in parens - 11284 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 33
  • Number of attempts: 1
Box it - 3966 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Number of attempts: 1
Swap values inside brackets - 1701 entries

Easy challenge.

  • Best score: 13
  • Best player score: 23
  • Number of attempts: 3
Bad Copy Syntax - 865 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 8
Add semicolons - 3657 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
remove lines containing the word "reader" - 2035 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
V to the i - 4057 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Happy TvvO - 356 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Join 'em - 173 entries

This shouldn't be too tough

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
Team names - 1501 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 5
Swap values - 3701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 5
One to Ten - 1193 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: 13
  • Number of attempts: 3
I forgot quotes - 12483 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 5
Context Insensitive completion 1 - 395 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 40
  • Number of attempts: 2
quotes inside quotes - 2826 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
One number per line - 13841 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 9
Hugo Tai
Twitter:

entered into 16 challenges

contributed 0 challenges