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

Fix the shell script! - 2606 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 50
  • Position: #499 / 607
  • Number of attempts: 1
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: 13
  • Position: #330 / 559
  • Number of attempts: 1
Multiline to Single Line - 737 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 13
  • Position: #304 / 313
  • Number of attempts: 1
V to the i - 4824 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1105 / 1899
  • Number of attempts: 5
comments galore - 1073 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 22
  • Position: #419 / 429
  • Number of attempts: 2
Replace and keep the case - 437 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 74
  • Position: #118 / 118
  • Number of attempts: 1
El Achèche ANIS 🇹🇳
Twitter:

An @UbuntuTn #Member && #SysAdmin && #Official @Ubuntu #Member && @persaluna is my 42

entered into 6 challenges

contributed 0 challenges