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
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 33 remaining solutions by signing in and submitting your own entry
#34 Oliver Christ / @0liverChrist - Score: 67 - 02/16/15 @ 14:39
:sor<CR>2dd5GV9G"adjjVj"bdGo<Esc>p"aPVG<Esc>kkkkkk"addj"bddjVj"cdo<Esc>"ap"bp"cpZZ
0 comments