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 challenge - 70 entries

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

  • Best score: 8
  • Best player score: 54
  • Number of attempts: 1
Put the months in order - 222 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 23
  • Best player score: 53
  • Number of attempts: 1
Simple, Practical, and Common - 22206 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: 2
  • Best player score: 24
  • Number of attempts: 1
simple format - 1453 entries

make it look better.

  • Best score: 20
  • Best player score: 23
  • Number of attempts: 6
move titles next to url, in quotes - 130 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Number of attempts: 3
Interweave two blocks of text - 484 entries

Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?

  • Best score: 15
  • Best player score: 20
  • Number of attempts: 3
Build a six - 112 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 25
  • Number of attempts: 2
Swap the operands under comparison - 190 entries

Swap the operands under comparison to prevent null pointer exception (at least in java)

  • Best score: 7
  • Best player score: 21
  • Number of attempts: 3
I forgot quotes - 10634 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 3
Com(m)a Trouble - 959 entries

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

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
Change part of a function name in multiple occurrences - 246 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 4
remove lines containing the word "reader" - 717 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 2
Delete to the end of the current line - 259 entries

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

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
One to Ten - 332 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: 14
  • Number of attempts: 6
Increment each number - 134 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 6
One number per line - 11132 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 9
convert yml into java pojo field - 556 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 30
  • Number of attempts: 4
Swap values - 3272 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 3
Team names - 1305 entries

The team names are misspelled.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Daniel Steinberg
Twitter:

entered into 19 challenges

contributed 0 challenges