> This seems to work nicely to do something I've wanted for a while.
> I have to admit I don't quite see why it works. What's giving us
> the new window rather than just dumping the info command output
> into the current buffer as :r! says? This command by itself:
>
> :execute "r!info --subnodes --output - gcc"
>
> puts its output in the current buffer, what part of the function
> and command wrapping layers is changing this?
The command is simple.
We can use the following command to dump all gcc info in terminal.
Host> info --subnodes --output - gcc
And r!{cmd} is used to "read the Execute {cmd} and insert its standard
output below the cursor or the specified line."
Best Regards,
robert
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment