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

Rural Post - 4138 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #322 / 1023
  • Number of attempts: 9
Satisfy the go linter - 2025 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: 28
  • Position: #287 / 408
  • Number of attempts: 7
Simple, Practical, and Common - 32992 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: 22
  • Position: #1985 / 7283
  • Number of attempts: 9
One number per line - 18426 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #487 / 3799
  • Number of attempts: 8
Swap values inside brackets - 2437 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Position: #14 / 562
  • Number of attempts: 4
V to the i - 4645 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1334 / 1859
  • Number of attempts: 1
Refactor typescript arrow function type - 289 entries

Make arrow function type less verbose and easier to read

  • Best score: 20
  • Best player score: 20
  • Position: #6 / 64
  • Number of attempts: 5
Add semicolons - 10707 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1145 / 3013
  • Number of attempts: 3
remove lines containing the word "reader" - 3475 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #533 / 1125
  • Number of attempts: 2
Com(m)a Trouble - 3438 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #19 / 768
  • Number of attempts: 7
Box it - 7696 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #42 / 1838
  • Number of attempts: 9
Triangular Numbers - 88 entries

Generate the first 50 triangular numbers.

  • Best score: 18
  • Best player score: 18
  • Position: #6 / 25
  • Number of attempts: 2
Team names - 1780 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #265 / 571
  • Number of attempts: 3
Python challenge - 140 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

  • Best score: 31
  • Best player score: 63
  • Position: #35 / 41
  • Number of attempts: 2
One to Ten - 2113 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 12
  • Position: #213 / 645
  • Number of attempts: 3
Delete to the end of the current line - 715 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #58 / 350
  • Number of attempts: 1
Refactoring useless Method away - 91 entries

Real-life challenge, convert a bunch of ifs to a switch statement

  • Best score: 47
  • Best player score: 61
  • Position: #20 / 32
  • Number of attempts: 4
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1160 / 4119
  • Number of attempts: 5
Words in parens - 12769 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1688 / 3925
  • Number of attempts: 2
Marc P├Ąpper
Twitter:

#MachineLearning #SoftwareDevelopment #Entrepreneurship #ConferenceSpeaker #Founder Lemundo CIO @ https://t.co/3t3vQwbjoa Organizer of the #Hamburg #DataScience #Meetup

entered into 19 challenges

contributed 0 challenges