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 - 33621 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: #732 / 7422
  • Number of attempts: 14
Swap values - 4622 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1027 / 1269
  • Number of attempts: 4
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2362 / 3865
  • Number of attempts: 8
SCREAMING_SNAKE_CASE to Title Case - 1214 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
  • Position: #235 / 249
  • Number of attempts: 3
Add semicolons - 10867 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1104 / 3065
  • Number of attempts: 7
Split line with dots - 2144 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Position: #413 / 634
  • Number of attempts: 1
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #591 / 1877
  • Number of attempts: 13
Two pairs of cluster of letters creates word - 749 entries

Clean and group.

  • Best score: 17
  • Best player score: 30
  • Position: #157 / 178
  • Number of attempts: 1
Just the middle - 11458 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3758 / 4199
  • Number of attempts: 1
Missing Library and a Typo - 887 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: 14
  • Best player score: 16
  • Position: #71 / 213
  • Number of attempts: 15
Pretty multi-line bash - 235 entries

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

  • Best score: 15
  • Best player score: 130
  • Position: #77 / 77
  • Number of attempts: 2
C Reformatting - 690 entries

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

  • Best score: 30
  • Best player score: 103
  • Position: #157 / 163
  • Number of attempts: 2
Sort files from hosts - 188 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #3 / 76
  • Number of attempts: 5
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1657 / 4182
  • Number of attempts: 4
kodemaan
Twitter:

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

entered into 14 challenges

contributed 0 challenges