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

Yo To Hello - 1043 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #17 / 478
  • Number of attempts: 1
Simple, Practical, and Common - 32881 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 30
  • Position: #4932 / 7266
  • Number of attempts: 1
Swap values - 4423 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #524 / 1239
  • Number of attempts: 6
One number per line - 18369 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2533 / 3786
  • Number of attempts: 4
Add semicolons - 10527 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #868 / 2986
  • Number of attempts: 3
Box it - 7678 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Position: #1015 / 1834
  • Number of attempts: 1
Cool or not? - 761 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 20
  • Position: #141 / 216
  • Number of attempts: 1
Flip the bit - 108 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 10
  • Position: #40 / 64
  • Number of attempts: 1
Just the middle - 11124 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3605 / 4109
  • Number of attempts: 4
Fun With The Diagonal - 96 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Position: #17 / 73
  • Number of attempts: 1
One to Ten - 2091 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: #387 / 640
  • Number of attempts: 2
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 23
  • Position: #181 / 233
  • Number of attempts: 1
ASCII Art - 80 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 10
  • Position: #7 / 50
  • Number of attempts: 2
Delete to the end of the current line - 711 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #14 / 348
  • Number of attempts: 3
change parenthesis - 251 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Position: #92 / 140
  • Number of attempts: 1
move titles next to url, in quotes - 487 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 24
  • Position: #100 / 128
  • Number of attempts: 1
Mute the second method of this script - 437 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 10
  • Position: #178 / 232
  • Number of attempts: 3
Remove hard line breaks - 51 entries

Text files with Hard breaks are not good for e-readers. We need remove all hard line breaks and have long lines.

  • Best score: 10
  • Best player score: 31
  • Position: #26 / 27
  • Number of attempts: 1
I forgot quotes - 15712 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3062 / 4109
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10531 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2677 / 3636
  • Number of attempts: 2
Jacob Degeling
Twitter:

Dad, Husband, IT Guy, Creative

entered into 20 challenges

contributed 0 challenges