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

Box it - 3966 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 6
Basic renumbering - 4769 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Number of attempts: 2
One number per line - 13841 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 5
Put the months in order - 574 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 52
  • Number of attempts: 2
Every other line - 2204 entries

AaAaAaA

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 3
Simple text editing with Vim - 10610 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: 7
I forgot quotes - 12483 entries

Oops.

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 2
Words in parens - 11284 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Just the middle - 9554 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
change parenthesis - 177 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
One to Ten - 1193 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: 4
A HAPPY NEW YEAR 2014 ! - 9670 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
Simple, Practical, and Common - 26344 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: 14
  • Best player score: 22
  • Number of attempts: 4
Collect List - 3582 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
citizen_hacks_2019_challenge5 - 64 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Number of attempts: 2
switch variable - 4393 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Search and Replace 0 - 4191 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Applying same text modification in several lines - 1866 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Delete to the end of the current line - 522 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: 2
Add semicolons - 3661 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 6
せいほう
Twitter:

自由な人

entered into 20 challenges

contributed 0 challenges