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

delete swap - 1809 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #171 / 564
  • Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1277 entries

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

  • Best score: 29
  • Best player score: 29
  • Position: #43 / 274
  • Number of attempts: 9
Put a newline after every 10 lines in vim - 1664 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #156 / 559
  • Number of attempts: 4
Java to JavaScript - 285 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 88
  • Position: #41 / 76
  • Number of attempts: 2
Contribute to keyboard mashing - 898 entries

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #199 / 272
  • Number of attempts: 1
HS Final exam vimgolf - 912 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 24
  • Position: #106 / 240
  • Number of attempts: 2
Satisfy the go linter - 2450 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: 21
  • Position: #187 / 485
  • Number of attempts: 5
Simple, Practical, and Common - 33787 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: #4527 / 7454
  • Number of attempts: 4
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1649 / 3078
  • Number of attempts: 4
Just the middle - 11509 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3135 / 4218
  • Number of attempts: 3
Reformat a C golf submission - 614 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 28
  • Position: #67 / 210
  • Number of attempts: 3
Get rid of html tags - 415 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 17
  • Position: #124 / 239
  • Number of attempts: 1
Simple text editing with Vim - 13134 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2342 / 3776
  • Number of attempts: 5
MichaƂ
Twitter:

entered into 13 challenges

contributed 0 challenges