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

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #156 / 535
  • Number of attempts: 5
Simple, Practical, and Common - 33966 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 / 7501
  • Number of attempts: 12
Swap values inside brackets - 2545 entries

Easy challenge.

  • Best score: 13
  • Best player score: 20
  • Position: #421 / 591
  • Number of attempts: 1
V to the i - 4853 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1524 / 3091
  • Number of attempts: 6
Just the middle - 11574 entries

Delete the instructions at the top and bottom.

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 38
  • Position: #1252 / 1277
  • Number of attempts: 1
One to Ten - 2247 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: #581 / 685
  • Number of attempts: 6
Increment each number - 1062 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #179 / 257
  • Number of attempts: 1
Array transposition - 2472 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 45
  • Position: #424 / 458
  • Number of attempts: 3
I forgot quotes - 16176 entries

Oops.

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

entered into 11 challenges

contributed 0 challenges