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

prepend * to every non-blank line - 4423 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
Quote modules - 780 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 28
  • Number of attempts: 3
Add semicolons - 8994 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
One number per line - 17278 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 7
SCREAMING_SNAKE_CASE to Title Case - 871 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
  • Number of attempts: 9
Simple, Practical, and Common - 31292 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
  • Number of attempts: 9
Get mail address from outlook format - 421 entries

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

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 1
It's a factor - 78 entries

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

  • Best score: 25
  • Best player score: 122
  • Number of attempts: 1
I forgot quotes - 14974 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 1
Daniel Fleischman
Twitter:

entered into 9 challenges

contributed 0 challenges