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 - 33930 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 / 7490
  • Number of attempts: 9
Get mail address from outlook format - 656 entries

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

  • Best score: 15
  • Best player score: 16
  • Position: #91 / 205
  • Number of attempts: 1
prepend * to every non-blank line - 6380 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1308 / 3893
  • Number of attempts: 7
Quote modules - 1099 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 28
  • Position: #190 / 287
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1269 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 / 264
  • Number of attempts: 9
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

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

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2361 / 4210
  • 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