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

One to Ten - 506 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
remove lines containing the word "reader" - 954 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
V to the i - 3693 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Delete to the end of the current line - 329 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
Swap values inside brackets - 1187 entries

Easy challenge.

  • Best score: 2
  • Best player score: 21
  • Number of attempts: 3
move titles next to url, in quotes - 193 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 24
  • Number of attempts: 1
simple format - 1757 entries

make it look better.

  • Best score: 20
  • Best player score: 58
  • Number of attempts: 1
replacing each line of a block selection - 2440 entries

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

  • Best score: 17
  • Best player score: 23
  • Number of attempts: 4
Simple, Practical, and Common - 22762 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: 2
  • Best player score: 24
  • Number of attempts: 5
Build a six - 127 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Number of attempts: 4
Box it - 632 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 3
Kevin Ullmann
Twitter:

#nerd, #atheist and #humanist

entered into 11 challenges

contributed 0 challenges