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 - 33379 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: 35
  • Position: #6545 / 7363
  • Number of attempts: 3
Swap values inside brackets - 2464 entries

Easy challenge.

  • Best score: 14
  • Best player score: 34
  • Position: #544 / 569
  • Number of attempts: 3
V to the i - 4751 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #661 / 1879
  • Number of attempts: 7
Box it - 7827 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #477 / 1864
  • Number of attempts: 7
Search and Replace 0 - 4790 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #591 / 1585
  • Number of attempts: 6
Vice versa - 7797 entries

Little role switching.

  • Best score: 12
  • Best player score: 22
  • Position: #1913 / 2099
  • Number of attempts: 3
Simple text editing with Vim - 12281 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 23
  • Position: #2960 / 3580
  • Number of attempts: 6
Hao-Ting Wang
Twitter:

Postdoc at @YorkPsychology. DMN, mind wandering, machine learning, big data. In need of new profile picture.

entered into 7 challenges

contributed 0 challenges