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

Simple, Practical, and Common - 32765 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: #1750 / 7241
  • Number of attempts: 7
One number per line - 18294 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #909 / 3770
  • Number of attempts: 16
Swap values inside brackets - 2417 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Position: #235 / 557
  • Number of attempts: 11
Applying same text modification in several lines - 2710 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 15
  • Position: #485 / 806
  • Number of attempts: 3
Split line with dots - 2081 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 24
  • Position: #497 / 618
  • Number of attempts: 13
remove lines containing the word "reader" - 3436 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #179 / 1113
  • Number of attempts: 7
Box it - 7657 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #461 / 1829
  • Number of attempts: 13
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1228 / 4093
  • Number of attempts: 4
ninja substitution - 1261 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 14
  • Position: #12 / 242
  • Number of attempts: 15
Vice versa - 7449 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #460 / 2020
  • Number of attempts: 13
One to Ten - 2071 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: #101 / 634
  • Number of attempts: 13
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #66 / 233
  • Number of attempts: 4
Delete to the end of the current line - 711 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #124 / 348
  • Number of attempts: 3
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2243 / 4098
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10513 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1379 / 3629
  • Number of attempts: 4
Simple text editing with Vim - 11431 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2301 / 3357
  • Number of attempts: 6
Manos Koutselakis
Twitter:

entered into 16 challenges

contributed 0 challenges