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

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

  • Best score: 9
  • Best player score: 11
  • Position: #510 / 1099
  • Number of attempts: 7
Yo To Hello - 1130 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #245 / 524
  • Number of attempts: 11
Simple, Practical, and Common - 33621 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: #2254 / 7422
  • Number of attempts: 3
prepend * to every non-blank line - 6318 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #314 / 1539
  • Number of attempts: 1
Add semicolons - 10867 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1597 / 3065
  • Number of attempts: 2
remove lines containing the word "reader" - 3590 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #817 / 1163
  • Number of attempts: 4
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #388 / 1877
  • Number of attempts: 16
Just the middle - 11458 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1430 / 4199
  • Number of attempts: 8
One to Ten - 2219 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: #306 / 672
  • Number of attempts: 1
Collect List - 4305 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #496 / 1191
  • Number of attempts: 7
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1078 / 4182
  • Number of attempts: 15
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1127 / 3964
  • Number of attempts: 10
Simple text editing with Vim - 12822 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #641 / 3698
  • Number of attempts: 5
Er St
Twitter:

entered into 13 challenges

contributed 0 challenges