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

Many duplicates - 285 entries

Quick and easy

  • Best score: 2
  • Best player score: 8
  • Position: #29 / 104
  • Number of attempts: 4
delete swap - 345 entries

delete all swap

  • Best score: 5
  • Best player score: 6
  • Position: #78 / 122
  • Number of attempts: 2
Generate a very basic Python constructor (fixed) - 544 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 48
  • Position: #72 / 126
  • Number of attempts: 2
Fix the shell script! - 984 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 89
  • Position: #238 / 252
  • 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: 48
  • Position: #132 / 247
  • Number of attempts: 6
Inverting Lines - 1296 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 15
  • Position: #273 / 363
  • Number of attempts: 1
Making 3 line function a one liner. - 163 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #87 / 106
  • Number of attempts: 3
Python: Def to Lambda - 372 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #69 / 124
  • Number of attempts: 11
Format the CSS - 90 entries

You just copied some CSS color names from the web and need to add them to your python module. Create the COLORS variable and assign a dict() with the names as keys and hex-colors as values. BEWARE OF THE TABS!!

  • Best score: 41
  • Best player score: 80
  • Position: #35 / 35
  • Number of attempts: 1
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: 30
  • Position: #311 / 404
  • Number of attempts: 1
Ryan Murphy
Twitter:

entered into 10 challenges

contributed 0 challenges