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

html paragraph to table - 341 entries

reformat html paragraph to table

  • Best score: 7
  • Best player score: 54
  • Number of attempts: 4
simple format - 2757 entries

make it look better.

  • Best score: 20
  • Best player score: 37
  • Number of attempts: 1
Com(m)a Trouble - 1698 entries

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

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 5
V to the i - 3901 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
One to Ten - 892 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
Simple addition - 233 entries

The right side of the equation is already there. We just need the left one now.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 1
Collect List - 3467 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Simple, Practical, and Common - 24813 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: 22
  • Number of attempts: 7
Basic renumbering - 4579 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Count both ways - 864 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Box it - 2784 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 2
Add semicolons - 1243 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
Swap values - 3492 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 5
Resort and deup a CSV list - 98 entries

I'm always adding items to a sorted list. There has to be a better way dedup and resort the lists. There are multiple lists with varying lengths to discourage manual sorting. Also Australia's animals are weird.

  • Best score: 44
  • Best player score: 47
  • Number of attempts: 3
Vertical Limit - 2106 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 5
Copy three lines - 2030 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 7
Interactive git rebase changing commands - 151 entries

How to change the action of some commits in git rebase dialog.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 2
Reorder the groups - 344 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 6
ninja substitution - 493 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 5
One number per line - 12650 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 5
Every other line - 2091 entries

AaAaAaA

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
I forgot quotes - 11699 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 5
Array transposition - 1576 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 5
Order and join - 748 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 3
Create a table - 243 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 3
garry quested
Twitter:

entered into 25 challenges

contributed 0 challenges