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 - 1664 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #76 / 559
  • Number of attempts: 6
Rural Post - 4563 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #325 / 1113
  • Number of attempts: 3
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #283 / 1551
  • Number of attempts: 4
One number per line - 18784 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #516 / 3878
  • Number of attempts: 6
Swap values inside brackets - 2515 entries

Easy challenge.

  • Best score: 13
  • Best player score: 16
  • Position: #219 / 584
  • Number of attempts: 2
remove lines containing the word "reader" - 3610 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #181 / 1172
  • Number of attempts: 3
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #73 / 1885
  • Number of attempts: 3
html paragraph to table - 606 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 48
  • Position: #1 / 126
  • Number of attempts: 4
Number Sort - 317 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
  • Position: #8 / 169
  • Number of attempts: 1
Delete to the end of the current line - 847 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #122 / 406
  • Number of attempts: 1
Ítalo Vieira
Twitter:

entered into 10 challenges

contributed 0 challenges