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

hello-world-vimgolf - 1418 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #36 / 408
  • Number of attempts: 4
Contribute to keyboard mashing - 592 entries

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #11 / 179
  • Number of attempts: 5
Transpose a python matrix - 541 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #15 / 104
  • Number of attempts: 5
simple replacements - 1046 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 22
  • Position: #110 / 232
  • Number of attempts: 4
Inverting Lines - 1274 entries

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

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

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

  • Best score: 21
  • Best player score: 26
  • Position: #46 / 79
  • Number of attempts: 8
Yo To Hello - 1043 entries

Simply Turn Yo To Hello

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #774 / 1460
  • Number of attempts: 4
One number per line - 18369 entries

Just give me the numbers.

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

This line is too long, split it.

  • Best score: 15
  • Best player score: 22
  • Position: #464 / 621
  • Number of attempts: 5
remove lines containing the word "reader" - 3450 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #789 / 1119
  • Number of attempts: 9
Box it - 7678 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #912 / 1834
  • Number of attempts: 8
Every other line - 2820 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Position: #400 / 684
  • Number of attempts: 3
Basic renumbering - 5422 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 15
  • Position: #508 / 1225
  • Number of attempts: 3
One to Ten - 2091 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 / 640
  • Number of attempts: 5
Put the months in order - 915 entries

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

  • Best score: 20
  • Best player score: 31
  • Position: #50 / 155
  • Number of attempts: 8
Restore order to the alphabet - 166 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 22
  • Position: #46 / 62
  • Number of attempts: 4
Not enough Ps - 65 entries

Different type of code

  • Best score: 13
  • Best player score: 13
  • Position: #22 / 34
  • Number of attempts: 3
Merge blank lines and properly capitalize - 61 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: #14 / 20
  • Number of attempts: 3
Simple Maths - 36 entries

Not much to say, discover by yourself!

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2421 / 3636
  • Number of attempts: 1
Words in parens - 12725 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1085 / 3915
  • Number of attempts: 2
switch variable - 4901 entries

how fast can you switch two variable ?

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

Accompagnement formations

entered into 24 challenges

contributed 0 challenges