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

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

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

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

  • Best score: 9
  • Best player score: 10
  • Position: #322 / 1097
  • Number of attempts: 3
prepend * to every non-blank line - 6308 entries

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

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

Just give me the numbers.

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

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Position: #216 / 579
  • Number of attempts: 2
remove lines containing the word "reader" - 3586 entries

easy stuff

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

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #73 / 1876
  • 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 - 314 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 / 166
  • Number of attempts: 1
Delete to the end of the current line - 812 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 / 391
  • Number of attempts: 1
Ítalo Vieira
Twitter:

entered into 10 challenges

contributed 0 challenges