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

For the Citizen Hacks 2019 Vim competition.

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

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

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

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

  • Best score: 12
  • Best player score: 18
  • Position: #679 / 847
  • Number of attempts: 1
Add semicolons - 10846 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1046 / 3060
  • Number of attempts: 4
Com(m)a Trouble - 3790 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #483 / 857
  • Number of attempts: 4
Box it - 7902 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1006 / 1874
  • Number of attempts: 10
multiple cursor alternative - 1519 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: #296 / 380
  • Number of attempts: 1
Just the middle - 11423 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2923 / 4185
  • Number of attempts: 2
ninja substitution - 1420 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 27
  • Position: #231 / 267
  • Number of attempts: 4
Line under headers - 2031 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #415 / 500
  • Number of attempts: 2
Delete to the end of the current line - 810 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #327 / 389
  • Number of attempts: 2
I forgot quotes - 15967 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2320 / 4174
  • Number of attempts: 1
Words in parens - 12928 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1045 / 3960
  • Number of attempts: 5
ASCII-art Histogram - 320 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: #51 / 57
  • 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