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

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

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

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

  • Best score: 14
  • Best player score: 31
  • Position: #426 / 565
  • Number of attempts: 1
Reformat symbols in list - 1633 entries

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

  • Best score: 24
  • Best player score: 42
  • Position: #288 / 351
  • Number of attempts: 4
Fizzbuzz - 586 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 110
  • Position: #144 / 169
  • Number of attempts: 1
Many duplicates - 1459 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #193 / 476
  • Number of attempts: 3
delete swap - 1801 entries

delete all swap

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

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

  • Best score: 17
  • Best player score: 47
  • Position: #136 / 206
  • Number of attempts: 1
simple replacements - 1814 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 30
  • Position: #349 / 392
  • Number of attempts: 2
Modernise code - 1410 entries

Modernise and clean up some C++ code.

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

entered into 10 challenges

contributed 0 challenges