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

Refactoring useless Method away - 78 entries

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

  • Best score: 47
  • Best player score: 61
  • Number of attempts: 4
I forgot quotes - 10634 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 5
Swap values inside brackets - 1097 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • 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: 1
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: 63
  • Number of attempts: 2
Words in parens - 10552 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 2
V to the i - 3653 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Com(m)a Trouble - 959 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
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: 2
simple format - 1453 entries

make it look better.

  • Best score: 20
  • Best player score: 21
  • Number of attempts: 7
One number per line - 11132 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 8
Marc P├Ąpper
Twitter:

CTO of Lemundo, Deep Learning, Machine Learning

entered into 12 challenges

contributed 0 challenges