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 - 33717 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 / 7441
  • Number of attempts: 14
Swap values - 4639 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1030 / 1273
  • Number of attempts: 4
One number per line - 18751 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2364 / 3869
  • Number of attempts: 8
SCREAMING_SNAKE_CASE to Title Case - 1215 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 / 250
  • Number of attempts: 3
Add semicolons - 10879 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1106 / 3071
  • Number of attempts: 7
Split line with dots - 2154 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 21
  • Position: #414 / 635
  • Number of attempts: 1
Box it - 7915 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #591 / 1880
  • 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 - 11479 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3766 / 4207
  • Number of attempts: 1
Missing Library and a Typo - 893 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 / 214
  • 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 - 16014 entries

Oops.

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

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

entered into 14 challenges

contributed 0 challenges