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

Replace Parameter with Explicit Methods - 61 entries

Implementing the methods of a Java Interface

  • Best score: 33
  • Best player score: 49
  • Number of attempts: 3
C Reformatting - 640 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 44
  • Number of attempts: 3
Pretty multi-line bash - 194 entries

Bash line continuations are much prettier when they're column aligned.

  • Best score: 15
  • Best player score: 30
  • Number of attempts: 1
SFD-ROC: Tic-Tac-Toe - 131 entries

Tic-Tac-Toe You are 'X', and it is your turn. Stop 'O' from winning, and complete the game. Draw a diagonal line through your winning row of three X's.

  • Best score: 25
  • Best player score: 34
  • Number of attempts: 2
SFD-ROC: ASCII Logo Border - 66 entries

Draw a border around this familiar logo ;)

  • Best score: 20
  • Best player score: 30
  • Number of attempts: 1
Simple, Practical, and Common - 25764 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
  • Number of attempts: 7
-a-b-c- - 2637 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
Paragraph breaks - 407 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
Every other line - 2140 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 3
Array transposition - 1661 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 48
  • Number of attempts: 1
The name of the game - 582 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1294 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 3
Swap values inside brackets - 1640 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 3
One number per line - 13429 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 5
Generate a list of numbers - 249 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Simple text editing with Vim - 10553 entries

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

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 3
convert yml into java pojo field - 673 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 29
  • Number of attempts: 3
Vertical Limit - 2126 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 5
♜ Pepe Doval
Twitter:

Streaming chess at https://t.co/twdre8KjQV • Sculpting software at @nolegaltech

entered into 18 challenges

contributed 0 challenges