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 - 1140 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: #246 / 342
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 489 entries

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

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

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

  • Best score: 14
  • Best player score: 31
  • Position: #368 / 493
  • Number of attempts: 1
Reformat symbols in list - 1474 entries

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

  • Best score: 24
  • Best player score: 42
  • Position: #266 / 325
  • Number of attempts: 4
Fizzbuzz - 511 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 110
  • Position: #136 / 157
  • Number of attempts: 1
Many duplicates - 1259 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #184 / 415
  • Number of attempts: 3
delete swap - 1548 entries

delete all swap

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

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

  • Best score: 17
  • Best player score: 47
  • Position: #123 / 186
  • Number of attempts: 1
simple replacements - 1662 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 30
  • Position: #332 / 371
  • Number of attempts: 2
Modernise code - 1336 entries

Modernise and clean up some C++ code.

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

entered into 10 challenges

contributed 0 challenges