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 - 32904 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: 22
  • Position: #1802 / 7270
  • Number of attempts: 7
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #21 / 2988
  • Number of attempts: 5
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #627 / 1835
  • Number of attempts: 5
Search and Replace 0 - 4651 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #583 / 1541
  • Number of attempts: 3
attr_aligner - 3402 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 27
  • Position: #289 / 685
  • Number of attempts: 6
Alex Yu
Twitter:

Developer of OngakuBeats.cf & Jiggly.tk, Co-Founder of Harmony @HarmonyCoVan, TA at @techupkids, & Student at U-Hill Secondary https://t.co/tKwIWp4v88

entered into 5 challenges

contributed 0 challenges