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 - 32765 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: #414 / 7241
  • Number of attempts: 4
Swap values - 4409 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #641 / 1235
  • Number of attempts: 2
One number per line - 18294 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1299 / 3770
  • Number of attempts: 4
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2330 / 4093
  • Number of attempts: 1
Vice versa - 7449 entries

Little role switching.

  • Best score: 12
  • Best player score: 22
  • Position: #1839 / 2020
  • Number of attempts: 1
vim1001 - 253 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 23
  • Position: #52 / 100
  • Number of attempts: 3
Count both ways - 935 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #151 / 334
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10513 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1867 / 3629
  • Number of attempts: 2
Top X - 185 entries

The End File is the Top 10 Vimgolf Leaderboard at June 29, 2013. This is a second version, with a great contribution of @udioica. X is ten in Roman,a numeric system in ancient Rome

  • Best score: 18
  • Best player score: 35
  • Position: #59 / 67
  • Number of attempts: 1
Assign list - 146 entries

Assign list elements to matrix

  • Best score: 30
  • Best player score: 35
  • Position: #19 / 55
  • Number of attempts: 3
Increment, increment, increment.... - 534 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #288 / 359
  • Number of attempts: 1
Simple text editing with Vim - 11431 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 23
  • Position: #2743 / 3357
  • Number of attempts: 4

Contributed Challenges

From A to B - 533 entries

Mirror and change this text block

Lluís Mª Bosch
Twitter:

Biotechnologist & Software Engineer. Vim ninja. Bash enthusiast. PHP/Javascript adept. Black screen monk. I work at @icraWater.

entered into 12 challenges

contributed 1 challenges