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 - 176 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 35
  • Position: #7 / 53
  • Number of attempts: 5
Fix the Scala Method - 162 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 9
  • Best player score: 22
  • Position: #5 / 54
  • Number of attempts: 2
Change class fields from camel case to snake case - 360 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 22
  • Position: #45 / 91
  • Number of attempts: 6
Word completion - 198 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 20
  • Position: #9 / 56
  • Number of attempts: 11
Search different SQL column with similar where clause - 220 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 22
  • Position: #8 / 54
  • Number of attempts: 11
New teacher - 1101 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 21
  • Position: #45 / 236
  • Number of attempts: 8
Quicksort - 2002 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: 6
  • Position: #129 / 440
  • Number of attempts: 5
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: 15
  • Position: #246 / 418
  • Number of attempts: 12
Many duplicates - 1447 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #43 / 470
  • Number of attempts: 2
Simple, Practical, and Common - 33724 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 32
  • Position: #6018 / 7442
  • Number of attempts: 1
dlum20
Github:

entered into 10 challenges

contributed 0 challenges