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

Simple, Practical, and Common - 34021 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: #1682 / 7517
  • Number of attempts: 5
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 38
  • Position: #3813 / 3904
  • Number of attempts: 1
Applying same text modification in several lines - 2931 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 14
  • Position: #374 / 867
  • Number of attempts: 2
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #586 / 1901
  • Number of attempts: 3
Two pairs of cluster of letters creates word - 773 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #67 / 182
  • Number of attempts: 2
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Position: #968 / 2158
  • Number of attempts: 6
One to Ten - 2258 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: 12
  • Position: #68 / 688
  • Number of attempts: 2
Put the months in order - 1001 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 31
  • Position: #52 / 168
  • Number of attempts: 3
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1853 / 4225
  • Number of attempts: 4
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #975 / 3991
  • Number of attempts: 6
James Perry Hartman
Twitter:

Software engineer at Oracle. he/him

entered into 10 challenges

contributed 0 challenges