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 - 789 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: #155 / 185
  • Number of attempts: 1
Fix the git merge conflicts - 207 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 107
  • Position: #57 / 59
  • Number of attempts: 1
Move to corresponding lines - 267 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 60
  • Position: #61 / 62
  • Number of attempts: 1
SCREAMING_SNAKE_CASE to Title Case - 1231 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: #240 / 254
  • Number of attempts: 1
Search and Replace 0 - 5007 entries

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

  • Best score: 12
  • Best player score: 21
  • Position: #1541 / 1631
  • Number of attempts: 2
Simple text editing with Vim - 13092 entries

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

  • Best score: 13
  • Best player score: 31
  • Position: #3482 / 3765
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7229 entries

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

  • Best score: 10
  • Best player score: 112
  • Position: #1760 / 1778
  • Number of attempts: 1
Oli
Github:

entered into 7 challenges

contributed 0 challenges