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 format (2) - 115 entries

try again!

  • Best score: 23
  • Best player score: 36
  • Number of attempts: 1
simple format - 1215 entries

make it look better.

  • Best score: 20
  • Best player score: 24
  • Number of attempts: 4
Vertical Limit - 2052 entries

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

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 9
Copy three lines - 1765 entries

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

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 3
Number Sort - 220 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Simple, Practical, and Common - 21855 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: 30
  • Number of attempts: 4
replacing each line of a block selection - 2425 entries

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

  • Best score: 17
  • Best player score: 29
  • Number of attempts: 1
Extract argument from function - 1839 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
Swap values inside brackets - 1010 entries

Easy challenge.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 5
Applying same text modification in several lines - 1028 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 3
Bob_V
Twitter:

entered into 10 challenges

contributed 0 challenges