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

Transpose a python matrix - 50 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #6 / 12
  • Number of attempts: 5
simple replacements - 452 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 22
  • Position: #53 / 111
  • Number of attempts: 4
Inverting Lines - 686 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #79 / 194
  • Number of attempts: 3
Capitalize the Names - 235 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 3
  • Best player score: 26
  • Position: #37 / 63
  • Number of attempts: 8
Yo To Hello - 877 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #53 / 412
  • Number of attempts: 3
Simple, Practical, and Common - 32743 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
  • Position: #2165 / 7235
  • Number of attempts: 6
prepend * to every non-blank line - 5776 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #747 / 1421
  • Number of attempts: 4
One number per line - 18223 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #657 / 3759
  • Number of attempts: 11
Split line with dots - 2075 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 22
  • Position: #461 / 616
  • Number of attempts: 5
remove lines containing the word "reader" - 3419 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #783 / 1108
  • Number of attempts: 9
Box it - 7622 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #901 / 1819
  • Number of attempts: 8
Every other line - 2775 entries

AaAaAaA

  • Best score: 7
  • Best player score: 16
  • Position: #395 / 677
  • Number of attempts: 3
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 15
  • Position: #502 / 1218
  • Number of attempts: 3
One to Ten - 2055 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
  • Position: #279 / 629
  • Number of attempts: 5
Put the months in order - 911 entries

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

  • Best score: 3
  • Best player score: 31
  • Position: #51 / 155
  • Number of attempts: 8
Restore order to the alphabet - 162 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 22
  • Position: #45 / 61
  • Number of attempts: 4
Not enough Ps - 61 entries

Different type of code

  • Best score: 13
  • Best player score: 13
  • Position: #22 / 33
  • Number of attempts: 3
Merge blank lines and properly capitalize - 41 entries

Here you need complete 2 tasks: 1. Remove all unwanted continuous blank lines and leave only 1 blank line between paragraphs. 2. Properly capitalize the sentences.

  • Best score: 21
  • Best player score: 42
  • Position: #11 / 17
  • Number of attempts: 3
Simple Maths - 35 entries

Not much to say, discover by yourself!

  • Best score: 26
  • Best player score: 35
  • Position: #16 / 23
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10509 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2417 / 3627
  • Number of attempts: 1
Words in parens - 12677 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1082 / 3903
  • Number of attempts: 2
switch variable - 4863 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1397 / 1688
  • Number of attempts: 2
loupiot.veloce
Twitter:

Accompagnement formations

entered into 22 challenges

contributed 0 challenges