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

Simple, Practical, and Common - 32765 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: 22
  • Position: #1221 / 7241
  • Number of attempts: 15
One number per line - 18294 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #367 / 3770
  • Number of attempts: 12
Applying same text modification in several lines - 2710 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #187 / 806
  • Number of attempts: 8
Refactor typescript arrow function type - 273 entries

Make arrow function type less verbose and easier to read

  • Best score: 20
  • Best player score: 20
  • Position: #7 / 61
  • Number of attempts: 15
Add string initializers to an enum - 726 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 22
  • Position: #69 / 218
  • Number of attempts: 3
SCREAMING_SNAKE_CASE to Title Case - 1084 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 19
  • Position: #27 / 226
  • Number of attempts: 18
Add semicolons - 10467 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #322 / 2966
  • Number of attempts: 16
Bad Copy Syntax - 1899 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 19
  • Position: #135 / 483
  • Number of attempts: 6
remove lines containing the word "reader" - 3436 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #331 / 1113
  • Number of attempts: 3
Com(m)a Trouble - 3307 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #81 / 746
  • Number of attempts: 9
Box it - 7657 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #236 / 1829
  • Number of attempts: 14
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1315 / 4093
  • Number of attempts: 8
Team names - 1763 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #83 / 566
  • Number of attempts: 6
Line under headers - 1869 entries

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

  • Best score: 24
  • Best player score: 26
  • Position: #43 / 463
  • Number of attempts: 10
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #685 / 4098
  • Number of attempts: 7
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1030 / 3906
  • Number of attempts: 3
Hector Ricardo
Twitter:

entered into 16 challenges

contributed 0 challenges