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 - 381 entries

Simple number generation

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

Speak in tongues

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

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #14 / 71
  • Number of attempts: 5
simple replacements - 685 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 22
  • Position: #73 / 162
  • Number of attempts: 4
Inverting Lines - 1011 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #79 / 275
  • Number of attempts: 3
Capitalize the Names - 284 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: #43 / 72
  • Number of attempts: 8
Yo To Hello - 983 entries

Simply Turn Yo To Hello

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #757 / 1434
  • Number of attempts: 4
One number per line - 18295 entries

Just give me the numbers.

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

This line is too long, split it.

  • Best score: 15
  • Best player score: 22
  • Position: #463 / 619
  • Number of attempts: 5
remove lines containing the word "reader" - 3436 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #786 / 1113
  • Number of attempts: 9
Box it - 7661 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #909 / 1830
  • Number of attempts: 8
Every other line - 2790 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Position: #396 / 679
  • Number of attempts: 3
Basic renumbering - 5408 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 15
  • Position: #505 / 1221
  • Number of attempts: 3
One to Ten - 2072 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 / 635
  • 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 - 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 - 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 - 49 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: #12 / 18
  • 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 ! - 10515 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2418 / 3630
  • Number of attempts: 1
Words in parens - 12690 entries

We should all ace this, right?

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

how fast can you switch two variable ?

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

Accompagnement formations

entered into 24 challenges

contributed 0 challenges