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

Put a newline after every 10 lines in vim - 933 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #164 / 328
  • Number of attempts: 1
Turn the x - 253 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 26
  • Position: #55 / 66
  • Number of attempts: 2
V to the i - 4639 entries

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

  • Best score: 7
  • Best player score: 10
  • Position: #1753 / 1856
  • Number of attempts: 3
Change name of a variable - 161 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Position: #119 / 125
  • Number of attempts: 4
Where should I put the Newline? - 842 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #397 / 421
  • Number of attempts: 1
quotes inside quotes - 3026 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 17
  • Position: #918 / 1044
  • Number of attempts: 2
Alira
Twitter:

If we don't study the mistakes of the future we're doomed to repeat them for the first time

entered into 6 challenges

contributed 0 challenges