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

Find fix point of cos - 661 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 27
  • Position: #145 / 185
  • Number of attempts: 9
Surround the 'z' character with brackets, quotes, and print as formatted string. - 336 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #108 / 176
  • Number of attempts: 3
Easier Align - 188 entries

Align the columns of a markdown table

  • Best score: 57
  • Best player score: 165
  • Position: #28 / 67
  • Number of attempts: 1
Making 3 line function a one liner. - 290 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #158 / 183
  • Number of attempts: 3
Enumerate Bullets - 268 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 20
  • Best player score: 75
  • Position: #72 / 74
  • Number of attempts: 3
Whitespace, empty lines and tabs - 3143 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 72
  • Position: #692 / 702
  • Number of attempts: 3
Simple text editing with Vim - 11979 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #690 / 3509
  • Number of attempts: 5
Josh Pius
Twitter2:

entered into 7 challenges

contributed 0 challenges