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

citizen_hacks_2019_challenge2 - 209 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #37 / 108
  • Number of attempts: 2
V to the i - 4887 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #691 / 1916
  • Number of attempts: 4
Applying same text modification in several lines - 2937 entries

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

  • Best score: 12
  • Best player score: 18
  • Position: #698 / 868
  • Number of attempts: 1
Add semicolons - 10958 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1060 / 3098
  • Number of attempts: 4
Com(m)a Trouble - 3993 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 16
  • Position: #506 / 910
  • Number of attempts: 4
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1018 / 1901
  • Number of attempts: 10
multiple cursor alternative - 1592 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: 24
  • Position: #303 / 388
  • Number of attempts: 1
Just the middle - 11634 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2940 / 4262
  • Number of attempts: 2
ninja substitution - 1439 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 27
  • Position: #234 / 271
  • Number of attempts: 4
Line under headers - 2095 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #426 / 515
  • Number of attempts: 2
Delete to the end of the current line - 900 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #349 / 434
  • Number of attempts: 2
I forgot quotes - 16240 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2348 / 4226
  • Number of attempts: 1
Words in parens - 13058 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1058 / 3993
  • Number of attempts: 5
ASCII-art Histogram - 337 entries

Create an ASCCI-art histogram for the given numbers. Make sure not to leave trailing whitespaces. Thanks to VimGolf I recently discovered a feature of Vim thAT blew my mind. I'm curious to see what real ninjas make of it ;-)

  • Best score: 33
  • Best player score: 109
  • Position: #53 / 60
  • Number of attempts: 1
cínicoycansino
Twitter:

Notas, cansino y cínico. Y algo más. A lo mejor.

entered into 14 challenges

contributed 0 challenges