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

reformat html paragraph to table

  • Best score: 7
  • Best player score: 58
  • Number of attempts: 5
Hello ${world} - 232 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 45
  • Number of attempts: 2
Reformat Cura settings - 86 entries

Cura settings are weirdly encoded... After mere replacements, you'll have to enquote two strings (infill_pattern & speed_travel) and dont forget booleans in lowercase. #format #json

  • Best score: 50
  • Best player score: 61
  • Number of attempts: 5
Label grid cells (6x6) - 13 entries

Label the cells of a grid with its coordinates. Rows are labelled top to bottom from A to F, and columns left to right from A to F. Each cell has a coordinate MN, where M is the row letter and N is the column letter.

  • Best score: 31
  • Best player score: 35
  • Number of attempts: 3
Line under headers - 176 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 27
  • Best player score: 27
  • Number of attempts: 3
Extract wireshark capture filter - 102 entries

Extract wireshark capture filter from IP plan

  • Best score: 26
  • Best player score: 26
  • Number of attempts: 3
Simple, Practical, and Common - 25767 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: 26
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5529 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 38
  • Number of attempts: 4
Remove quotes after first field - 143 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 26
  • Number of attempts: 3
Coordinates placeholder - 52 entries

Place coordinates instead of target search.

  • Best score: 22
  • Best player score: 25
  • Number of attempts: 2
One number per line - 13430 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 6
Vertical Limit - 2126 entries

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

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 8
Numbering a List - 1743 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 4
Add semicolons - 2844 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 439 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
Box it - 3582 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 10
Join 'em - 161 entries

This shouldn't be too tough

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Delete to the end of the current line - 489 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
Applying same text modification in several lines - 1805 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
Collect List - 3556 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
remove lines containing the word "reader" - 1888 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 5
One to Ten - 1105 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: 8
Copy three lines - 2138 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 7
Song Transcription Oops - 126 entries

When transcribing vocal music to Canjo Tab you can start by finding the lowest note and assigning that to zero and working your way up from there. However, without fail, I tend to miscount the notes and when I am near done I find a lower note. I mark this with a "z". This means I have to increase all the previous ones by 1. just a sting of numbers :)

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 4
change parenthesis - 155 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Just the middle - 9428 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Words in parens - 11201 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
ninja substitution - 673 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
move titles next to url, in quotes - 315 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 21
  • Number of attempts: 4
Vice versa - 6072 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
Reorder the groups - 545 entries

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

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 9
Com(m)a Trouble - 1855 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 9621 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Search and Replace 0 - 4170 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Split line with dots - 1865 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 24
  • Number of attempts: 4
I forgot quotes - 12173 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Unwrap the text of an email message - 150 entries

Reverse of "Wrap the text of an email message to 79 characters". gq and gw are great for wrapping paragraphs. But sometimes other programs choke on your wrapped lines. What's the best way to un-gq?

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 6
Team names - 1485 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 4
Ron Holt
Twitter:

entered into 38 challenges

contributed 0 challenges