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

Put a newline after every 10 lines in vim - 1688 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 12
  • Position: #219 / 567
  • Number of attempts: 3
Rural Post - 4596 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #450 / 1122
  • Number of attempts: 4
xrandr outputs and dashes - 731 entries

uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!

  • Best score: 12
  • Best player score: 16
  • Position: #190 / 228
  • Number of attempts: 1
Yo To Hello - 1155 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #135 / 536
  • Number of attempts: 2
Simple, Practical, and Common - 33982 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: 28
  • Position: #4525 / 7508
  • Number of attempts: 3
prepend * to every non-blank line - 6390 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #796 / 1560
  • Number of attempts: 1
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1547 / 3901
  • Number of attempts: 5
Quote modules - 1102 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 22
  • Position: #64 / 290
  • Number of attempts: 8
Add semicolons - 10951 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1867 / 3096
  • Number of attempts: 1
Com(m)a Trouble - 3990 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #458 / 909
  • Number of attempts: 5
Box it - 7999 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #543 / 1899
  • Number of attempts: 8
Cool or not? - 857 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 18
  • Position: #139 / 236
  • Number of attempts: 4
Search and Replace 0 - 5124 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Position: #902 / 1670
  • Number of attempts: 3
Just the middle - 11611 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 11
  • Position: #3998 / 4252
  • Number of attempts: 3
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 15
  • Position: #542 / 1277
  • Number of attempts: 5
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #845 / 2153
  • 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: 28
  • Position: #239 / 515
  • Number of attempts: 4
Increment each number - 1067 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #79 / 260
  • Number of attempts: 5
Put the months in order - 1001 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 40
  • Position: #87 / 168
  • Number of attempts: 4
Reorder the groups - 1199 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 17
  • Position: #143 / 269
  • Number of attempts: 2
I forgot quotes - 16185 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2378 / 4221
  • Number of attempts: 2
-a-b-c- - 3237 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #411 / 1145
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2474 / 3712
  • Number of attempts: 2
Words in parens - 13033 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2525 / 3987
  • Number of attempts: 5
Prefixes and suffixes - 664 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 24
  • Position: #74 / 206
  • Number of attempts: 5
HTML to Haml - 905 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 28
  • Position: #50 / 207
  • Number of attempts: 9
Simple text editing with Vim - 13576 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1905 / 3892
  • Number of attempts: 2
soundscope
Twitter:

阪大/競プロ(2019/2~)/atcoder(soundscope)/vim/ リンクは暇な人用謎解き(座右の銘?)

entered into 27 challenges

contributed 0 challenges