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

Paste a column after a column - 2537 entries

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

  • Best score: 14
  • Best player score: 24
  • Position: #381 / 553
  • Number of attempts: 2
Simple, Practical, and Common - 33621 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: 31
  • Position: #5632 / 7422
  • Number of attempts: 3
Swap values - 4616 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 17
  • Position: #1130 / 1268
  • Number of attempts: 1
Add string initializers to an enum - 872 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 27
  • Position: #176 / 258
  • Number of attempts: 2
Add semicolons - 10859 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Position: #2101 / 3064
  • Number of attempts: 2
Box it - 7905 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 39
  • Position: #1700 / 1876
  • Number of attempts: 3
Line under headers - 2044 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 37
  • Position: #401 / 503
  • Number of attempts: 1
calculations - 312 entries

Complete these (weird) calculations.

  • Best score: 38
  • Best player score: 48
  • Position: #44 / 68
  • Number of attempts: 2
louis
Twitter:

Frontend Engineer @ Prime Video - All opinions are my own

entered into 8 challenges

contributed 0 challenges