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

Poorly indented Python comments - 1190 entries

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

  • Best score: 15
  • Best player score: 30
  • Position: #107 / 205
  • Number of attempts: 3
Many duplicates - 1259 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #64 / 415
  • Number of attempts: 2
delete swap - 1540 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #10 / 483
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 1184 entries

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

  • Best score: 29
  • Best player score: 65
  • Position: #222 / 249
  • Number of attempts: 1
Fix the shell script! - 2347 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 44
  • Position: #404 / 543
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1581 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #329 / 527
  • Number of attempts: 2
hello-world-vimgolf - 2367 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #170 / 670
  • Number of attempts: 5
Reverse characters in a line - 711 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 21
  • Position: #206 / 250
  • Number of attempts: 1
Enrique Santana
Twitter:

entered into 8 challenges

contributed 0 challenges