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 - 33724 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 / 7442
  • Number of attempts: 9
Get mail address from outlook format - 649 entries

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

  • Best score: 15
  • Best player score: 16
  • Position: #90 / 204
  • Number of attempts: 1
prepend * to every non-blank line - 6337 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1304 / 3870
  • Number of attempts: 7
Quote modules - 1090 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 28
  • Position: #188 / 283
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1216 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 / 251
  • Number of attempts: 9
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

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

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2350 / 4189
  • Number of attempts: 1
It's a factor - 104 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: #35 / 38
  • Number of attempts: 1
Daniel Fleischman
Twitter:

entered into 9 challenges

contributed 0 challenges