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

Python: Def to Lambda - 453 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #18 / 155
  • Number of attempts: 2
Rural Post - 4450 entries

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

  • Best score: 9
  • Best player score: 13
  • Position: #556 / 1089
  • Number of attempts: 4
Satisfy the go linter - 2366 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: 29
  • Position: #351 / 467
  • Number of attempts: 5
Simple, Practical, and Common - 33535 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: 27
  • Position: #4034 / 7397
  • Number of attempts: 4
prepend * to every non-blank line - 6288 entries

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

  • Best score: 10
  • Best player score: 20
  • Position: #1279 / 1532
  • Number of attempts: 1
One number per line - 18705 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 27
  • Position: #3519 / 3855
  • Number of attempts: 4
Add semicolons - 10841 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #605 / 3058
  • Number of attempts: 5
remove lines containing the word "reader" - 3573 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #796 / 1157
  • Number of attempts: 4
Just the middle - 11417 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3095 / 4181
  • Number of attempts: 2
mp3 - Cutlist - 42 entries

An audio CD was accidentally ripped into one single mp3 file. A dummy cue-file now needs to be filled out with the correct values to get single mp3 files.

  • Best score: 65
  • Best player score: 150
  • Position: #11 / 14
  • Number of attempts: 2
Hello ${world} - 324 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 56
  • Position: #85 / 96
  • Number of attempts: 1
I forgot quotes - 15954 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3545 / 4170
  • Number of attempts: 2
Muhsin AbdulMohammed
Twitter:

entered into 12 challenges

contributed 0 challenges