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

Put a newline after every 10 lines in vim - 1554 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 18
  • Position: #470 / 518
  • Number of attempts: 1
hello-world-vimgolf - 2311 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #391 / 653
  • Number of attempts: 2
Fill in the chess board - 886 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 35
  • Position: #81 / 173
  • Number of attempts: 1
Learn to ask for :help - 510 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 49
  • Position: #107 / 118
  • Number of attempts: 1
Migrated to Postgres! - 299 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 29
  • Position: #49 / 118
  • Number of attempts: 1
Increment number for every 10 lines - 216 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 59
  • Position: #39 / 60
  • Number of attempts: 1
simple replacements - 1536 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #176 / 336
  • Number of attempts: 2
Making 3 line function a one liner. - 303 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #37 / 193
  • Number of attempts: 1
Enumerate Bullets - 292 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 20
  • Best player score: 51
  • Position: #67 / 80
  • Number of attempts: 3
swap number pairs - 2002 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 26
  • Position: #188 / 369
  • Number of attempts: 2
Yo To Hello - 1107 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #315 / 512
  • Number of attempts: 2
One number per line - 18615 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 29
  • Position: #3604 / 3841
  • Number of attempts: 1
ninja substitution - 1372 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 61
  • Position: #258 / 261
  • Number of attempts: 1
Maorun
Twitter:

entered into 13 challenges

contributed 0 challenges