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

Paste a column after a column - 2262 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 17
  • Position: #181 / 491
  • Number of attempts: 8
HS exam question - 1510 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 66
  • Position: #159 / 397
  • Number of attempts: 1
Simple, Practical, and Common - 33392 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: 31
  • Position: #5628 / 7365
  • Number of attempts: 1
Hogwarts Email Sorting - 877 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 34
  • Position: #231 / 254
  • Number of attempts: 1
prepend * to every non-blank line - 6208 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 21
  • Position: #1291 / 1517
  • Number of attempts: 1
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3427 / 3842
  • Number of attempts: 4
Quote modules - 1054 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 27
  • Position: #156 / 274
  • Number of attempts: 3
Add semicolons - 10792 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Position: #2122 / 3044
  • Number of attempts: 3
Box it - 7828 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 34
  • Position: #1581 / 1865
  • Number of attempts: 1
Vice versa - 7805 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1644 / 2101
  • Number of attempts: 4
Line under headers - 2004 entries

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

  • Best score: 24
  • Best player score: 31
  • Position: #301 / 496
  • Number of attempts: 3
I forgot quotes - 15931 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3525 / 4161
  • Number of attempts: 1
Words in parens - 12858 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2985 / 3946
  • Number of attempts: 2
Mikael Brassman
Twitter:

Web Developer @tretton37 at day. Game Developer at night. I draw stuff https://t.co/niMyfAfibn. He/him. Gamer Dad. Mastodon: @spoike@mastodon.social

entered into 13 challenges

contributed 0 challenges