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

Generate a very basic Python constructor (fixed) - 1253 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 250
  • Position: #262 / 271
  • Number of attempts: 1
Simple, Practical, and Common - 33724 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: #1219 / 7442
  • Number of attempts: 7
Swap values - 4643 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #204 / 1274
  • Number of attempts: 8
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #364 / 3870
  • Number of attempts: 10
Applying same text modification in several lines - 2897 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #554 / 857
  • Number of attempts: 1
Bad Copy Syntax - 2044 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 203
  • Position: #530 / 530
  • Number of attempts: 1
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1385 / 1881
  • Number of attempts: 2
multiple cursor alternative - 1521 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 19
  • Position: #44 / 381
  • Number of attempts: 7
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1043 / 4209
  • Number of attempts: 3
Wrap text in quotes - 368 entries

All the blocks of text should be wrapped in quotation marks.

  • Best score: 16
  • Best player score: 16
  • Position: #36 / 122
  • Number of attempts: 5
Vice versa - 7945 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #340 / 2138
  • Number of attempts: 8
Line under headers - 2059 entries

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

  • Best score: 24
  • Best player score: 34
  • Position: #350 / 507
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #260 / 1138
  • Number of attempts: 5
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1641 / 3969
  • Number of attempts: 2
Urbanovics Péter
Twitter:

entered into 14 challenges

contributed 0 challenges