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

Rural Post - 4547 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 40
  • Position: #1053 / 1109
  • Number of attempts: 1
Hogwarts Email Sorting - 928 entries

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

  • Best score: 20
  • Best player score: 22
  • Position: #160 / 262
  • Number of attempts: 2
Get mail address from outlook format - 649 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 15
  • Position: #52 / 204
  • Number of attempts: 1
prepend * to every non-blank line - 6353 entries

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

  • Best score: 10
  • Best player score: 22
  • Position: #1401 / 1549
  • Number of attempts: 1
Quote modules - 1090 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 27
  • Position: #177 / 283
  • Number of attempts: 2
Aliases for cd - 879 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 63
  • Position: #129 / 155
  • Number of attempts: 3
Swap values inside brackets - 2511 entries

Easy challenge.

  • Best score: 13
  • Best player score: 14
  • Position: #98 / 583
  • Number of attempts: 5
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1596 / 3074
  • Number of attempts: 5
Every other line - 2916 entries

AaAaAaA

  • Best score: 12
  • Best player score: 20
  • Position: #622 / 705
  • Number of attempts: 4
Copy three lines - 2875 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #565 / 641
  • Number of attempts: 3
Just the middle - 11495 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1429 / 4213
  • Number of attempts: 5
Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 19
  • Position: #780 / 1269
  • Number of attempts: 4
JS notation to Immutable.js notation - 186 entries

Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.

  • Best score: 34
  • Best player score: 47
  • Position: #55 / 63
  • Number of attempts: 1
Manual SQL - 160 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 48
  • Best player score: 91
  • Position: #48 / 50
  • Number of attempts: 1
Array transposition - 2425 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 16
  • Position: #35 / 449
  • Number of attempts: 4
Fix the XML - 1039 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 38
  • Position: #275 / 290
  • Number of attempts: 2
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 22
  • Position: #3867 / 4192
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #415 / 1138
  • Number of attempts: 6
Mess in revision history - 1184 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 57
  • Position: #244 / 250
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10688 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1549 / 3691
  • Number of attempts: 4
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 29
  • Position: #3879 / 3969
  • Number of attempts: 2
Alphabet soup - 429 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 48
  • Position: #104 / 108
  • Number of attempts: 1
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #989 / 1749
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7172 entries

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

  • Best score: 28
  • Best player score: 47
  • Position: #1296 / 1760
  • Number of attempts: 2
Ifeoluwa Lawal
Twitter:

Tech enthusiast, aspiring web programmer, and university taught designer https://t.co/fqM8efpqB0

entered into 24 challenges

contributed 0 challenges