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 - 1199 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: 18
  • Position: #261 / 363
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 505 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #63 / 285
  • Number of attempts: 2
Paste a column after a column - 2411 entries

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

  • Best score: 14
  • Best player score: 31
  • Position: #392 / 523
  • Number of attempts: 1
Reformat symbols in list - 1506 entries

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

  • Best score: 24
  • Best player score: 42
  • Position: #272 / 333
  • Number of attempts: 4
Fizzbuzz - 536 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 110
  • Position: #138 / 161
  • Number of attempts: 1
Many duplicates - 1333 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #188 / 436
  • Number of attempts: 3
delete swap - 1648 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #178 / 513
  • Number of attempts: 3
Visual block training - 1047 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 47
  • Position: #130 / 195
  • Number of attempts: 1
simple replacements - 1706 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 30
  • Position: #339 / 377
  • Number of attempts: 2
Modernise code - 1368 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 43
  • Position: #156 / 316
  • Number of attempts: 2
dakmuk
Twitter:

entered into 10 challenges

contributed 0 challenges