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

Reformat symbols in list - 1417 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 24
  • Position: #16 / 312
  • Number of attempts: 11
CSV to MD format - 378 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 90
  • Position: #63 / 87
  • Number of attempts: 5
Format the CSS - 115 entries

You just copied some CSS color names from the web and need to add them to your python module. Create the COLORS variable and assign a dict() with the names as keys and hex-colors as values. BEWARE OF THE TABS!!

  • Best score: 41
  • Best player score: 42
  • Position: #8 / 43
  • Number of attempts: 8
Capitalize the Names - 361 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 21
  • Position: #42 / 91
  • Number of attempts: 7
Search and Replace 0 - 4785 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #717 / 1584
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10615 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1587 / 3662
  • Number of attempts: 7
Format the output - 143 entries

Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.

  • Best score: 35
  • Best player score: 35
  • Position: #7 / 38
  • Number of attempts: 12
Simple text editing with Vim - 12205 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #676 / 3561
  • Number of attempts: 14
Reformat/Refactor a Golfer Class - 6500 entries

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

  • Best score: 32
  • Best player score: 35
  • Position: #384 / 1599
  • Number of attempts: 6
vimgolfer220902
Twitter:

entered into 9 challenges

contributed 0 challenges