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 hard line breaks - 39 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
  • Number of attempts: 1
Simple, Practical, and Common - 27158 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
  • Number of attempts: 1
Box it - 4475 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Number of attempts: 1
Increment each number - 605 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 1
One number per line - 14411 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Number of attempts: 4
I forgot quotes - 12864 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 3
move titles next to url, in quotes - 355 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 24
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9782 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Add semicolons - 4776 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 3
change parenthesis - 192 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
Just the middle - 9764 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 4
Cool or not? - 562 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 20
  • 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: 14
  • Number of attempts: 2
ASCII Art - 76 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
Flip the bit - 84 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 10
  • Number of attempts: 1
Delete to the end of the current line - 562 entries

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

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
Fun With The Diagonal - 86 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1
Mute the second method of this script - 417 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 3
Swap values - 3790 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 6
Jacob Degeling
Twitter:

Dad, Husband, IT Guy, Creative

entered into 19 challenges

contributed 0 challenges