Hello, John Beckett <[EMAIL PROTECTED]> wrote:
> I'm looking for opinions on some issues re > http://vim.wikia.com/wiki/VimTip960 > Copy an Entire Buffer to the Clipboard > > (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'. I'm not sure about the inconsistency. I know there is a '+' register and a '*' register, but I fail to remember how they differ. I guess the vim_use mailing list would be a place place to ask -- may be we'll be lucky and get some feedback this time. > (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 I prefer the first form as it does not rely on the visual mode. Moreover, AFAIK, the second form does not yank anything (in?)to the OS clipboard. > (3) I don't see why this tip is in category 'Integration' - bit of a > stretch? Again, I'm the culprit here. As the clipboard is something external to vim, and serves to copy-paste (textual in Vim case) things between applications, I found this tip as very typical of the Integration category. In a sense, the clipboard permits vim to communicate with other programs (firefox/IE, mutt, OOo/Word, ...), somehow it permits to integrate vim with all the other applications running on the system. -- Luc Hermitte _______________________________________________ Vim-l mailing list [email protected] http://lists.wikia.com/mailman/listinfo/vim-l
