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

Yo To Hello - 1151 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #156 / 533
  • Number of attempts: 5
Simple, Practical, and Common - 33791 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: #2198 / 7455
  • Number of attempts: 12
Swap values inside brackets - 2521 entries

Easy challenge.

  • Best score: 13
  • Best player score: 20
  • Position: #417 / 585
  • Number of attempts: 1
V to the i - 4824 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #734 / 1899
  • Number of attempts: 6
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1517 / 3078
  • Number of attempts: 6
Just the middle - 11509 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1397 / 4218
  • Number of attempts: 4
Basic renumbering - 5685 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 38
  • Position: #1245 / 1270
  • Number of attempts: 1
One to Ten - 2240 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 20
  • Position: #579 / 681
  • Number of attempts: 6
Increment each number - 1041 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #178 / 254
  • Number of attempts: 1
Array transposition - 2430 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 45
  • Position: #419 / 451
  • Number of attempts: 3
I forgot quotes - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1045 / 4195
  • Number of attempts: 11
mp
Twitter:

entered into 11 challenges

contributed 0 challenges