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

Array propagate - 226 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 23
  • Number of attempts: 4
Box it - 1211 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 226 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Number of attempts: 1
One number per line - 11719 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 3
Don't know what this is - 1678 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

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

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 1
That hyphen - 2037 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Delete to the end of the current line - 351 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: 1
Fun With The Diagonal - 79 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1
V to the i - 3737 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9319 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Convert Application Output to CSV - 66 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 17
  • Number of attempts: 1
Just the middle - 8840 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Neither Fizz nor Buzz - 191 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 1
create arrows in a list - 63 entries

Add arrow at same distance

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
remove lines containing the word "reader" - 1085 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Flip the bit - 63 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 1
One to Ten - 603 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: 2
Cool or not? - 283 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 1
move titles next to url, in quotes - 213 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Number of attempts: 2
Build a six - 149 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 1
Vice versa - 5698 entries

Little role switching.

  • Best score: 2
  • Best player score: 12
  • Number of attempts: 1
Back to the roots - 36 entries

Johnny has a file with more integers. He wants to change each number with its square root. Can you help him?

  • Best score: 5
  • Best player score: 23
  • Number of attempts: 2
Free hyphen! - 112 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
abcd > a b c d - 240 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 1
Every other line - 1985 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Com(m)a Trouble - 1147 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 2
Simple text editing with Vim - 10206 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 1
Simple, Practical, and Common - 23279 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: 2
  • Best player score: 22
  • Number of attempts: 3
Increment each number - 324 entries

Increment each number individually by one

  • Best score: 6
  • Best player score: 16
  • Number of attempts: 2
Tinko Minko
Twitter:

entered into 30 challenges

contributed 0 challenges