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

months to html list items - 1064 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #93 / 289
  • Number of attempts: 4
Quicksort - 2005 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #116 / 442
  • Number of attempts: 14
Paste a column after a column - 2557 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 14
  • Position: #100 / 558
  • Number of attempts: 7
Poorly indented Python comments - 1316 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 15
  • Position: #51 / 222
  • Number of attempts: 24
Many duplicates - 1451 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #38 / 471
  • Number of attempts: 6
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #347 / 557
  • Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1253 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 29
  • Position: #65 / 271
  • Number of attempts: 16
Fix the shell script! - 2596 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 26
  • Position: #58 / 603
  • Number of attempts: 14
Visual block training - 1075 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 21
  • Position: #56 / 205
  • Number of attempts: 24
Put a newline after every 10 lines in vim - 1660 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #206 / 558
  • Number of attempts: 6
hello-world-vimgolf - 2501 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #330 / 709
  • Number of attempts: 4
Create a diamond comment - 337 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 27
  • Position: #14 / 75
  • Number of attempts: 13
Migrated to Postgres! - 331 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 30
  • Position: #88 / 131
  • Number of attempts: 2
CSV to MD format - 413 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 96
  • Position: #70 / 94
  • Number of attempts: 2
lnorbo
Github:

entered into 14 challenges

contributed 0 challenges