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

Box it - 4486 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 3
Build a six - 245 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Number of attempts: 4
Simple, Practical, and Common - 27199 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: 24
  • Number of attempts: 5
replacing each line of a block selection - 2604 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 23
  • Number of attempts: 4
move titles next to url, in quotes - 355 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 24
  • Number of attempts: 1
Swap values inside brackets - 1795 entries

Easy challenge.

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 3
Delete to the end of the current line - 565 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
V to the i - 4155 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
remove lines containing the word "reader" - 2259 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
One to Ten - 1375 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: 14
  • Number of attempts: 4
Kevin Ullmann
Twitter:

#nerd, #atheist and #humanist

entered into 10 challenges

contributed 0 challenges