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

Box it - 4793 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 74
  • Number of attempts: 1
SCREAMING_SNAKE_CASE to Title Case - 611 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 61
  • Number of attempts: 1
Simple, Practical, and Common - 27679 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: 36
  • Number of attempts: 2
Com(m)a Trouble - 2302 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 34
  • Number of attempts: 1
I forgot quotes - 13081 entries

Oops.

  • Best score: 10
  • Best player score: 24
  • Number of attempts: 1
Words in parens - 11556 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 27
  • Number of attempts: 1
Delete to the end of the current line - 578 entries

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

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 2
Just the middle - 9856 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 13
  • Number of attempts: 2
remove lines containing the word "reader" - 2368 entries

easy stuff

  • Best score: 9
  • Best player score: 16
  • Number of attempts: 2
Add semicolons - 5493 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 2
Aaron
Twitter:

entered into 10 challenges

contributed 0 challenges