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 - 33958 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: #5865 / 7498
  • Number of attempts: 2
Copy three lines - 2909 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 22
  • Position: #496 / 644
  • Number of attempts: 3
Extract argument from function - 2392 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #544 / 765
  • Number of attempts: 2
That hyphen - 2624 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Position: #363 / 708
  • Number of attempts: 3
Team names - 1858 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Position: #343 / 594
  • Number of attempts: 1
Todo list specification - 408 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 39
  • Position: #129 / 184
  • Number of attempts: 4
Missing Library and a Typo - 952 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 14
  • Best player score: 21
  • Position: #166 / 222
  • Number of attempts: 2
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #1055 / 1277
  • Number of attempts: 2
Inner hyphens - 145 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #68 / 86
  • Number of attempts: 2
Where should I put the Newline? - 889 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #389 / 442
  • Number of attempts: 1
Vertical Limit - 2624 entries

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

  • Best score: 21
  • Best player score: 25
  • Position: #385 / 774
  • Number of attempts: 3
replacing each line of a block selection - 3040 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #408 / 785
  • Number of attempts: 2
Make it more readable - 2028 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #493 / 656
  • Number of attempts: 3
Saul Hardman
Twitter:

I design and build bits of internet that sometimes escape the screen | https://t.co/goomMBPghB | https://t.co/lITMwtPAPX

entered into 13 challenges

contributed 0 challenges