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

Just the middle - 10565 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 1
I forgot quotes - 14699 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 4
Box it - 6584 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 13
C Reformatting - 665 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 103
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 849 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: 46
  • Number of attempts: 3
Missing Library and a Typo - 784 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 15
Swap values - 4230 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 4
One number per line - 16908 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 8
Add semicolons - 8546 entries

Simply add a semicolon at the end of each line

  • Best score: 8
  • Best player score: 11
  • Number of attempts: 7
Two pairs of cluster of letters creates word - 654 entries

Clean and group.

  • Best score: 17
  • Best player score: 30
  • Number of attempts: 1
Sort files from hosts - 134 entries

Resume files by host. I hope you enjoy with this challenge

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 5
Simple, Practical, and Common - 30761 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: 14
Split line with dots - 2025 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 1
Pretty multi-line bash - 199 entries

Bash line continuations are much prettier when they're column aligned.

  • Best score: 15
  • Best player score: 130
  • Number of attempts: 2
kodemaan
Twitter:

I'm a PHP application developer out of Westland, MI

entered into 14 challenges

contributed 0 challenges