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 - 1408 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: 70
  • Position: #397 / 418
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 561 entries

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

  • Best score: 17
  • Best player score: 19
  • Position: #285 / 314
  • Number of attempts: 1
Easier Align - 406 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 316
  • Position: #76 / 96
  • Number of attempts: 2
Paste a column after a column - 2547 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 16
  • Position: #164 / 556
  • Number of attempts: 10
Reformat symbols in list - 1625 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #98 / 349
  • Number of attempts: 8
Indentation - 550 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 20
  • Best player score: 21
  • Position: #13 / 180
  • Number of attempts: 11
tch1001
Twitter2:

Theoretical Physics/Random tweets

entered into 6 challenges

contributed 0 challenges