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

One number per line - 17274 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
Box it - 6810 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 3
Number Sort - 265 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
html paragraph to table - 551 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 48
  • Number of attempts: 4
remove lines containing the word "reader" - 3165 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Swap values inside brackets - 2257 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
prepend * to every non-blank line - 4394 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Delete to the end of the current line - 688 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
Rural Post - 1414 entries

Simple challenge to remove all but the post code on each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
Ítalo Vieira
Twitter:

entered into 9 challenges

contributed 0 challenges