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

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

  • Best score: 14
  • Best player score: 24
  • Position: #372 / 540
  • Number of attempts: 2
Simple, Practical, and Common - 33552 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: #5623 / 7401
  • Number of attempts: 3
Swap values - 4606 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 17
  • Position: #1128 / 1265
  • 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 - 10841 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Position: #2096 / 3058
  • Number of attempts: 2
Box it - 7897 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 39
  • Position: #1696 / 1872
  • Number of attempts: 3
Line under headers - 2028 entries

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

  • Best score: 24
  • Best player score: 37
  • Position: #400 / 499
  • 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