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

Simple, Practical, and Common - 32746 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: 24
  • Position: #2982 / 7235
  • Number of attempts: 4
Swap values inside brackets - 2404 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Position: #231 / 555
  • Number of attempts: 2
V to the i - 4596 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1302 / 1837
  • Number of attempts: 1
remove lines containing the word "reader" - 3419 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #118 / 1108
  • Number of attempts: 3
Box it - 7622 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #550 / 1819
  • Number of attempts: 3
Extract argument from function - 2186 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 14
  • Position: #344 / 721
  • Number of attempts: 2
Team names - 1754 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Position: #361 / 564
  • Number of attempts: 3
Vice versa - 7416 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1572 / 2011
  • Number of attempts: 3
Build a six - 264 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 22
  • Position: #15 / 87
  • Number of attempts: 2
Delete to the end of the current line - 708 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #260 / 346
  • Number of attempts: 1
convert yml into java pojo field - 800 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
  • Position: #100 / 212
  • Number of attempts: 3
Space out the alphabet - 1542 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 19
  • Position: #245 / 421
  • Number of attempts: 1
-a-b-c- - 3077 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #670 / 1099
  • Number of attempts: 3
Vertical Limit - 2300 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 29
  • Position: #599 / 701
  • Number of attempts: 1
replacing each line of a block selection - 2740 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 23
  • Position: #455 / 724
  • Number of attempts: 1
Timothy Michael Fox
Twitter:

entered into 15 challenges

contributed 0 challenges