80851Re: OT: Vi in a browser...
- Jun 1, 2007Gene Kwiecinski wrote:
>> Personally, I don't agree with you. When editing short textIt may depend on what you want to do with the selection: see the commands
>> items on web pages, I feel that the overhead of copying/pasting
>> back and forth from vim is too much. I am currently using the
> Speaking of which, is there any quicker way to visually select the
> entire file, analogous to ^A in other systems? I have to essentially do
> to stick everything into the scratchpad/clipboard/whatever to dump it
> back into the item from whence it originally came, and that's just a
> pain. Well, not so much a pain as an annoying itch I can't quite reach.
> I was thinking something along the lines of
> but that obviously won't work. :)
":yank", ":put", "delete", all of which accept a range and a register:
To copy the whole file to the clipboard:
To cut (delete) the whole file to the clipboard (not very useful for the whole
file, but it may be interesting for a different range):
To paste the clipboard after the last line:
To paste the clipboard before the first line:
To paste the clipboard linewise after the current line:
Without the + at the end, all these act on the default ("unnamed") register.
Bravely bold Sir Robin, rode forth from Camelot,
He was not afraid to die, Oh Brave Sir Robin,
He was not at all afraid to be killed in nasty ways
Brave, brave, brave, brave Sir Robin.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
- << Previous post in topic Next post in topic >>