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

attr_aligner - 2992 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 27
  • Number of attempts: 3
move titles next to url, in quotes - 265 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 26
  • Number of attempts: 2
Cool or not? - 440 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 2
Vice versa - 5900 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
Applying same text modification in several lines - 1609 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Delete to the end of the current line - 446 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: 1
Simple text editing with Vim - 10385 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Tables, Functions, Sprocs - 55 entries

In order to load some scripts into my database in the correct order I need to load tables first (t_), then functions (fn_), then stored procedures (sp_). The order of the t_ lines and the order of the sp_ lines should also match. Reorder the lines so they will load correctly.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 3
Array transposition - 1576 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 5
Just the middle - 9164 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Every other line - 2091 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Search and Replace 0 - 4091 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
-a-b-c- - 2567 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Remove quotes after first field - 83 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 22
  • Number of attempts: 2
Extract argument from function - 2000 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
ささ
Twitter:

悪い話じゃないけど色々あったのよ

entered into 15 challenges

contributed 0 challenges