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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #155 / 527
  • Number of attempts: 5
Simple, Practical, and Common - 33717 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 / 7441
  • Number of attempts: 12
Swap values inside brackets - 2507 entries

Easy challenge.

  • Best score: 13
  • Best player score: 20
  • Position: #414 / 582
  • Number of attempts: 1
V to the i - 4813 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1516 / 3071
  • Number of attempts: 6
Just the middle - 11479 entries

Delete the instructions at the top and bottom.

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 38
  • Position: #1243 / 1268
  • Number of attempts: 1
One to Ten - 2225 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: #575 / 676
  • Number of attempts: 6
Increment each number - 1025 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #176 / 249
  • Number of attempts: 1
Array transposition - 2425 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 45
  • Position: #417 / 449
  • Number of attempts: 3
I forgot quotes - 16014 entries

Oops.

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

entered into 11 challenges

contributed 0 challenges