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 53f44761ba79e3000235fc6f

Comparing scores

If Alice and Bob both did the challenge, put their entries together in the top paragraph, so we can compare their scores more easily.

Start file
4d1a34ccfa85f32065000004 Alice: 15 # Simple text editing with Vim
4d1a8bf2b8cb3409320002c4 Alice: 12 # Search and Replace 0
4d1cdb0635b40650b8000527 Alice: 16 # Make Fancy Header
4d716c76919202611400002b Alice: 19 # Numbering a List
4f0720c8f037090001000007 Alice: 11 # switch variable
4fca29ddd3a0d40001000038 Alice: 8  # Remove semicolons after expressions
50048db8cdc4060002000004 Alice: 22 # Vertical Limit
508fe9f57acca60002000037 Alice: 13 # Stairs Indenting
5192f96ad8df110002000002 Alice: 16 # Words in parens

4d1a34ccfa85f32065000004 Bob: 13 # Simple text editing with Vim
4d1a8bf2b8cb3409320002c4 Bob: 14 # Search and Replace 0
4d1aaf2fb11838287d000036 Bob: 14 # Reverse characters in a line
4d2c9d06eda6262e4e00007a Bob: 19 # Assignment Alignment
4ef209ef78702b0001000019 Bob: 14 # Make it more readable
4f0720c8f037090001000007 Bob: 11 # switch variable
4fc9d767d3a0d4000100000e Bob: 12 # Append semicolon after expressions
50048db8cdc4060002000004 Bob: 23 # Vertical Limit
508fe9f57acca60002000037 Bob: 14 # Stairs Indenting
5192f96ad8df110002000002 Bob: 15 # Words in parens
End file
4d1a34ccfa85f32065000004 Alice: 15 # Simple text editing with Vim
4d1a34ccfa85f32065000004 Bob: 13 # Simple text editing with Vim
4d1a8bf2b8cb3409320002c4 Alice: 12 # Search and Replace 0
4d1a8bf2b8cb3409320002c4 Bob: 14 # Search and Replace 0
4f0720c8f037090001000007 Alice: 11 # switch variable
4f0720c8f037090001000007 Bob: 11 # switch variable
50048db8cdc4060002000004 Alice: 22 # Vertical Limit
50048db8cdc4060002000004 Bob: 23 # Vertical Limit
508fe9f57acca60002000037 Alice: 13 # Stairs Indenting
508fe9f57acca60002000037 Bob: 14 # Stairs Indenting
5192f96ad8df110002000002 Alice: 16 # Words in parens
5192f96ad8df110002000002 Bob: 15 # Words in parens

4d1cdb0635b40650b8000527 Alice: 16 # Make Fancy Header
4d716c76919202611400002b Alice: 19 # Numbering a List
4fca29ddd3a0d40001000038 Alice: 8  # Remove semicolons after expressions

4d1aaf2fb11838287d000036 Bob: 14 # Reverse characters in a line
4d2c9d06eda6262e4e00007a Bob: 19 # Assignment Alignment
4ef209ef78702b0001000019 Bob: 14 # Make it more readable
4fc9d767d3a0d4000100000e Bob: 12 # Append semicolon after expressions

View Diff

1d0
< 
2a2
> 4d1a34ccfa85f32065000004 Bob: 13 # Simple text editing with Vim
4,5c4
< 4d1cdb0635b40650b8000527 Alice: 16 # Make Fancy Header
< 4d716c76919202611400002b Alice: 19 # Numbering a List
---
> 4d1a8bf2b8cb3409320002c4 Bob: 14 # Search and Replace 0
7c6
< 4fca29ddd3a0d40001000038 Alice: 8  # Remove semicolons after expressions
---
> 4f0720c8f037090001000007 Bob: 11 # switch variable
8a8
> 50048db8cdc4060002000004 Bob: 23 # Vertical Limit
9a10
> 508fe9f57acca60002000037 Bob: 14 # Stairs Indenting
10a12,16
> 5192f96ad8df110002000002 Bob: 15 # Words in parens
> 
> 4d1cdb0635b40650b8000527 Alice: 16 # Make Fancy Header
> 4d716c76919202611400002b Alice: 19 # Numbering a List
> 4fca29ddd3a0d40001000038 Alice: 8  # Remove semicolons after expressions
12,13d17
< 4d1a34ccfa85f32065000004 Bob: 13 # Simple text editing with Vim
< 4d1a8bf2b8cb3409320002c4 Bob: 14 # Search and Replace 0
17d20
< 4f0720c8f037090001000007 Bob: 11 # switch variable
19,21d21
< 50048db8cdc4060002000004 Bob: 23 # Vertical Limit
< 508fe9f57acca60002000037 Bob: 14 # Stairs Indenting
< 5192f96ad8df110002000002 Bob: 15 # Words in parens

Solutions by @saherneklawy:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @udioica

35 active golfers, 112 entries

Solutions by @saherneklawy:
22
#17 - Saher El-Neklawy / @saherneklawy

08/23/2014 at 04:00PM

40
#>25 - Saher El-Neklawy / @saherneklawy

08/23/2014 at 03:32PM

46
#>28 - Saher El-Neklawy / @saherneklawy

08/23/2014 at 03:23PM

57
#>30 - Saher El-Neklawy / @saherneklawy

08/23/2014 at 03:17PM