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

Remove semicolons after expressions - 499 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 6
  • Number of attempts: 5
prepend * to every non-blank line - 4485 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Applying same text modification in several lines - 2565 entries

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

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 1
learn vim in short time - 204 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
Line under headers - 1631 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 26
  • Number of attempts: 9
Box it - 6858 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 31
  • Number of attempts: 1
Simple, Practical, and Common - 31370 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: 44
  • Number of attempts: 1
One number per line - 17298 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 2
remove lines containing the word "reader" - 3177 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
Yo To Hello - 642 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
Just the middle - 10727 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Word frequency alignment - 220 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 4
Where should I put the Newline? - 830 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Vice versa - 7085 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Delete to the end of the current line - 692 entries

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

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
Multiline to Single Line - 178 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
unknown command - 120 entries

I want change 5 words

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
One to Ten - 1846 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
  • Number of attempts: 6
Add semicolons - 9022 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 10
Alphabet soup - 195 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 26
  • Number of attempts: 8
r4d1um
Twitter:

entered into 20 challenges

contributed 0 challenges