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) - 1277 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: #265 / 274
  • Number of attempts: 1
Simple, Practical, and Common - 33791 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 / 7455
  • Number of attempts: 7
Swap values - 4647 entries

Well, swap the values...

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

Just give me the numbers.

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

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

  • Best score: 12
  • Best player score: 16
  • Position: #557 / 860
  • Number of attempts: 1
Bad Copy Syntax - 2052 entries

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

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

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1390 / 1886
  • Number of attempts: 2
multiple cursor alternative - 1547 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 / 385
  • Number of attempts: 7
Just the middle - 11509 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1043 / 4218
  • 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 - 7968 entries

Little role switching.

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

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

  • Best score: 24
  • Best player score: 34
  • Position: #353 / 510
  • 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 - 12975 entries

We should all ace this, right?

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

entered into 14 challenges

contributed 0 challenges