On 05/01/09 04:42, Tim Chase wrote: [...] > As an aside, somewhere I picked up this little shorthand for this > pair of commands: > > :put_ > :put!_
Reading the black hole register! Of course! Now why didn't I think of that? Yet I do use "cp /dev/null filename" in the shell (and I learnt "COPY NUL filename", the equivalent, in my first few days with DOS) to make sure a file exists and is zero-length. > > which is kinda handy, given the number of times I reach for the > command Tony uses, only to get bitten by using the wrong quotes > (double-quotes, making for commented text, rather than > single-quotes). I thought paired double quotes (in the expression register) would work, but experiment shows that they don't. > > Additionally, using the "!" to mean "before the given line" is > another nice twist. and thanks, Tim, I had forgotten that one. > > -tim Best regards, Tony. -- Windows M!uqomz --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
