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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 50
  • Position: #445 / 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: #319 / 527
  • Number of attempts: 1
Multiline to Single Line - 668 entries

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

  • Best score: 5
  • Best player score: 13
  • Position: #284 / 292
  • Number of attempts: 1
V to the i - 4751 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1096 / 1879
  • Number of attempts: 5
comments galore - 998 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 22
  • Position: #408 / 418
  • Number of attempts: 2
Replace and keep the case - 407 entries

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

  • Best score: 26
  • Best player score: 74
  • Position: #115 / 115
  • 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