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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #155 / 483
  • Number of attempts: 5
Simple, Practical, and Common - 32953 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: #2199 / 7275
  • Number of attempts: 12
Swap values inside brackets - 2433 entries

Easy challenge.

  • Best score: 14
  • Best player score: 20
  • Position: #399 / 561
  • Number of attempts: 1
V to the i - 4641 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1485 / 2989
  • Number of attempts: 6
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1398 / 4114
  • Number of attempts: 4
Basic renumbering - 5436 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 38
  • Position: #1206 / 1228
  • Number of attempts: 1
One to Ten - 2095 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: #544 / 642
  • Number of attempts: 6
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #168 / 233
  • Number of attempts: 1
Array transposition - 2312 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 45
  • Position: #400 / 431
  • Number of attempts: 3
I forgot quotes - 15740 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1046 / 4115
  • Number of attempts: 11
mp
Twitter:

entered into 11 challenges

contributed 0 challenges