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

Replace markdown sections with numbering - 143 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 40
  • Position: #13 / 42
  • Number of attempts: 12
New teacher - 921 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #99 / 193
  • Number of attempts: 2
Replace word while reserving first letter case - 604 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 24
  • Position: #26 / 118
  • Number of attempts: 10
months to html list items - 1008 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #44 / 274
  • Number of attempts: 8
Quicksort - 1945 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #248 / 429
  • Number of attempts: 7
Find fix point of cos - 1397 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: 15
  • Position: #235 / 411
  • Number of attempts: 5
Paste a column after a column - 2534 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #103 / 552
  • Number of attempts: 9
Reformat symbols in list - 1614 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #63 / 347
  • Number of attempts: 10
yexia0
Github:

entered into 8 challenges

contributed 0 challenges