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 - 668 entries

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

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

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 90
  • Position: #56 / 75
  • Number of attempts: 5
Format the CSS - 102 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: #6 / 39
  • Number of attempts: 8
Capitalize the Names - 328 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 / 83
  • Number of attempts: 7
Search and Replace 0 - 4722 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #845 / 1562
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10560 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1588 / 3645
  • Number of attempts: 7
Format the output - 126 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 / 36
  • Number of attempts: 12
Simple text editing with Vim - 11753 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 / 3447
  • Number of attempts: 11
Reformat/Refactor a Golfer Class - 6141 entries

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

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

entered into 9 challenges

contributed 0 challenges