On 9/23/07, John Beckett <[EMAIL PROTECTED]> wrote: > (1) The alternative methods use the '+' register, except for one which > uses '*'. Is there a reason for that inconsistency (apart from the > fact that it usually doesn't matter)? I'm favouring changing 'ggVG"*y' > to 'ggVG"+y'.
ggVG"*y is just a more complex equivalent of gg"*yG. It is an abuse of visual mode... Apart from that, the 2 registers "* and "+ are not the same on X11, see :h quoteplus. I think the tip should mention both, and redirect to the help for more details. > (2) At the top, 'Normal Mode' shows two alternatives, in separate > boxes. That's probably good in this case because it's a short tip. If > you were concerned about the waste of space, what would you put for > the wikitext? (This is trivial, but it comes up in a few tips.) > > Maybe > gg"+yG > or > ggVGy > > or > gg"+yG > "or > ggVGy > > or leave it as is, or something else? Same issue occurs under 'Windows > Specific'. Generally speaking I don't know, but for this particular case I would certainly remove the second option, which is: - another abuse of visual mode (equivalent to ggyG) - wrong, unless the 'clipboard' option contains "unnamed" So the second line really deserves more explanations (at least, the 'clipboard' option should be referenced somewhere in the tip). BTW, what about a guideline advising against tips which are pure commands without a single line of explanation? > (3) I don't see why this tip is in category 'Integration' - bit of a > stretch? Maybe because it won't work if you don't have an X server, on some OS? Cheers, -- Olivier _______________________________________________ Vim-l mailing list [email protected] http://lists.wikia.com/mailman/listinfo/vim-l
