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

Satisfy the go linter - 2468 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 58
  • Position: #485 / 491
  • Number of attempts: 1
Add quotes to ansible playbook - 1030 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 28
  • Position: #321 / 325
  • Number of attempts: 1
xrandr outputs and dashes - 725 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: 57
  • Position: #226 / 226
  • Number of attempts: 1
From a Thunderlink to a Markdown link - 783 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 34
  • Position: #156 / 174
  • Number of attempts: 4
Simple, Practical, and Common - 33842 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: 40
  • Position: #7159 / 7468
  • Number of attempts: 1
Swap values - 4656 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 57
  • Position: #1265 / 1281
  • Number of attempts: 1
prepend * to every non-blank line - 6362 entries

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

  • Best score: 10
  • Best player score: 19
  • Position: #1255 / 1553
  • Number of attempts: 2
One number per line - 18826 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 27
  • Position: #3549 / 3887
  • Number of attempts: 2
Wget failed to download redirections - 205 entries

Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.

  • Best score: 15
  • Best player score: 42
  • Position: #66 / 66
  • Number of attempts: 3
Add string initializers to an enum - 892 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 52
  • Position: #258 / 263
  • Number of attempts: 1
Add semicolons - 10913 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 22
  • Position: #2886 / 3083
  • Number of attempts: 1
Box it - 7961 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 37
  • Position: #1688 / 1890
  • Number of attempts: 2
html paragraph to table - 612 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 111
  • Position: #122 / 128
  • Number of attempts: 2
Just the middle - 11534 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 14
  • Position: #4163 / 4227
  • Number of attempts: 1
Add to end of each line... kinda - 339 entries

Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?

  • Best score: 12
  • Best player score: 19
  • Position: #174 / 176
  • Number of attempts: 1
calculations - 313 entries

Complete these (weird) calculations.

  • Best score: 38
  • Best player score: 80
  • Position: #68 / 69
  • Number of attempts: 1
goeun-oh
Github:

entered into 16 challenges

contributed 0 challenges