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

Fix the shell script! - 987 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 31
  • Position: #109 / 253
  • Number of attempts: 3
Wikitext headings to markdown - 597 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 49
  • Position: #110 / 135
  • Number of attempts: 1
hello-world-vimgolf - 1534 entries

Simple number generation

  • Best score: 10
  • Best player score: 150
  • Position: #431 / 438
  • Number of attempts: 1
Plotting some variables in python - 1172 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 55
  • Position: #160 / 247
  • Number of attempts: 5
simple replacements - 1072 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 27
  • Position: #204 / 239
  • Number of attempts: 2
Python dataclasses - 650 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 29
  • Position: #105 / 169
  • Number of attempts: 2
Modernise code - 827 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 52
  • Position: #145 / 191
  • Number of attempts: 3
Rural Post - 4105 entries

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

  • Best score: 9
  • Best player score: 27
  • Position: #894 / 1015
  • Number of attempts: 2
Satisfy the go linter - 2007 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: 34
  • Position: #339 / 404
  • Number of attempts: 3
Add quotes to ansible playbook - 781 entries

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

  • Best score: 8
  • Best player score: 9
  • Position: #159 / 246
  • Number of attempts: 4
Multiline to Single Line - 522 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #183 / 235
  • Number of attempts: 4
Simple, Practical, and Common - 32910 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: #4442 / 7271
  • Number of attempts: 4
Missing Library and a Typo - 836 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 30
  • Position: #197 / 205
  • Number of attempts: 1
C Reformatting - 686 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 104
  • Position: #155 / 159
  • Number of attempts: 1
Chun Chanjun
Twitter:

cjchun

entered into 14 challenges

contributed 0 challenges