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

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

  • Best score: 14
  • Best player score: 24
  • Position: #336 / 491
  • Number of attempts: 2
Simple, Practical, and Common - 33385 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: #5600 / 7364
  • Number of attempts: 3
Swap values - 4543 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 17
  • Position: #1120 / 1257
  • Number of attempts: 1
Add string initializers to an enum - 862 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 27
  • Position: #174 / 254
  • Number of attempts: 2
Add semicolons - 10792 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Position: #2086 / 3044
  • Number of attempts: 2
Box it - 7828 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 39
  • Position: #1690 / 1865
  • Number of attempts: 3
Line under headers - 2004 entries

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

  • Best score: 24
  • Best player score: 37
  • Position: #397 / 496
  • Number of attempts: 1
calculations - 262 entries

Complete these (weird) calculations.

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

Frontend Engineer @ Prime Video - All opinions are my own

entered into 8 challenges

contributed 0 challenges