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

HS exam question - 1499 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 75
  • Position: #222 / 394
  • Number of attempts: 4
Reformat symbols in list - 1466 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 27
  • Position: #110 / 322
  • Number of attempts: 4
Fizzbuzz - 509 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 71
  • Position: #60 / 157
  • Number of attempts: 2
Changing around text with citations - 322 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 40
  • Position: #50 / 88
  • Number of attempts: 3
Many duplicates - 1252 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #129 / 411
  • Number of attempts: 4
delete swap - 1522 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #92 / 476
  • Number of attempts: 2
Fix the shell script! - 2338 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 44
  • Position: #403 / 540
  • Number of attempts: 2
Generate a very basic Python constructor - 307 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 76
  • Position: #82 / 94
  • Number of attempts: 1
HS Final exam vimgolf - 864 entries

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

  • Best score: 21
  • Best player score: 32
  • Position: #150 / 227
  • Number of attempts: 5
Simple, Practical, and Common - 33385 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: 32
  • Position: #5961 / 7364
  • Number of attempts: 1
Vice versa - 7803 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #598 / 2100
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 6557 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 44
  • Position: #1077 / 1614
  • Number of attempts: 1
mika
Twitter:

entered into 12 challenges

contributed 0 challenges