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 - 33396 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: #2101 / 7367
  • Number of attempts: 9
Get mail address from outlook format - 621 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 16
  • Position: #87 / 196
  • Number of attempts: 1
prepend * to every non-blank line - 6223 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #88 / 1519
  • Number of attempts: 7
One number per line - 18627 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1297 / 3843
  • Number of attempts: 7
Quote modules - 1059 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 28
  • Position: #184 / 275
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1182 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: 19
  • Position: #39 / 245
  • Number of attempts: 9
Add semicolons - 10795 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #466 / 3045
  • Number of attempts: 4
I forgot quotes - 15931 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2335 / 4161
  • Number of attempts: 1
It's a factor - 92 entries

Flaunt your macro prowess by factoring some numbers. Too hard? It takes less than 30 strokes, I promise.

  • Best score: 24
  • Best player score: 122
  • Position: #34 / 37
  • Number of attempts: 1
Daniel Fleischman
Twitter:

entered into 9 challenges

contributed 0 challenges