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! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 50
  • Position: #482 / 589
  • Number of attempts: 1
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: 13
  • Position: #329 / 556
  • Number of attempts: 1
Multiline to Single Line - 703 entries

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

  • Best score: 5
  • Best player score: 13
  • Position: #293 / 302
  • Number of attempts: 1
V to the i - 4802 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1101 / 1893
  • Number of attempts: 5
comments galore - 1045 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 22
  • Position: #414 / 424
  • 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