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 - 33353 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
  • Position: #6704 / 7358
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1177 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
  • Position: #237 / 243
  • Number of attempts: 1
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2634 / 3042
  • Number of attempts: 2
remove lines containing the word "reader" - 3528 entries

easy stuff

  • Best score: 9
  • Best player score: 16
  • Position: #1082 / 1142
  • Number of attempts: 2
Com(m)a Trouble - 3654 entries

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

  • Best score: 12
  • Best player score: 34
  • Position: #746 / 821
  • Number of attempts: 1
Box it - 7818 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 74
  • Position: #1816 / 1861
  • Number of attempts: 1
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 13
  • Position: #4057 / 4160
  • Number of attempts: 2
Delete to the end of the current line - 738 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #311 / 363
  • Number of attempts: 2
I forgot quotes - 15922 entries

Oops.

  • Best score: 10
  • Best player score: 24
  • Position: #3921 / 4159
  • Number of attempts: 1
Words in parens - 12848 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 27
  • Position: #3823 / 3943
  • Number of attempts: 1
Aaron
Twitter:

entered into 10 challenges

contributed 0 challenges