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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 50
  • Position: #201 / 254
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 944 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #218 / 333
  • Number of attempts: 1
Multiline to Single Line - 523 entries

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

  • Best score: 5
  • Best player score: 13
  • Position: #231 / 236
  • Number of attempts: 1
V to the i - 4641 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1083 / 1857
  • Number of attempts: 5
comments galore - 970 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 22
  • Position: #400 / 410
  • Number of attempts: 2
Replace and keep the case - 395 entries

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

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