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 - 220 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 23
  • Number of attempts: 4
Don't know what this is - 1668 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 - 10634 entries

Oops.

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

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Delete to the end of the current line - 259 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 - 3653 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 ! - 9229 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Just the middle - 8676 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Neither Fizz nor Buzz - 188 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" - 717 entries

easy stuff

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

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 1
One to Ten - 332 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
move titles next to url, in quotes - 130 entries

had trouble with something similar

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

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 1
Vice versa - 5552 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! - 111 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 - 239 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 - 1905 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Com(m)a Trouble - 959 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 - 10065 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 - 22206 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 - 134 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 2
One number per line - 11132 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 3
Tinko Minko
Twitter:

entered into 26 challenges

contributed 0 challenges