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

Reordering properties - 412 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 117
  • Position: #87 / 108
  • Number of attempts: 1
Fix the git merge conflicts - 136 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 107
  • Position: #44 / 45
  • Number of attempts: 1
Move to corresponding lines - 251 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 60
  • Position: #56 / 57
  • Number of attempts: 1
SCREAMING_SNAKE_CASE to Title Case - 1216 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: #237 / 251
  • Number of attempts: 1
Search and Replace 0 - 5004 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 21
  • Position: #1540 / 1630
  • Number of attempts: 2
Simple text editing with Vim - 12996 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 31
  • Position: #3462 / 3739
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7157 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 112
  • Position: #1737 / 1755
  • Number of attempts: 1
Oli
Github:

entered into 7 challenges

contributed 0 challenges