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

remove lines containing the word "reader" - 2793 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Box it - 6004 entries

Create a box around a line.

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

Easy challenge.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 3
Happy TvvO - 364 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
One number per line - 16215 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 9
Context Insensitive completion 1 - 397 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 40
  • Number of attempts: 2
Team names - 1625 entries

The team names are misspelled.

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

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 5
Join 'em - 191 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Number of attempts: 2
Bad Copy Syntax - 1578 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
V to the i - 4332 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Add semicolons - 7656 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
I forgot quotes - 14254 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 5
quotes inside quotes - 2942 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 to Ten - 1702 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
Words in parens - 11973 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 33
  • Number of attempts: 1
Hugo Tai
Twitter:

entered into 16 challenges

contributed 0 challenges