>
> 3. How can I get vi to close out my (..), '..', {..}, and so on (this might
> become annoying but I'd like to try something like this anyway).
>
http://vim.wikia.com/wiki/Automatically_append_closing_characters
> 4. Can I get the output of :shell or whatever to be inserted a(fter) my
> cursor?
http://vim.wikia.com/wiki/Append_output_of_an_external_command
Or are you asking about appending built-in command output? That is
more involved surprisingly. The easiest way is:
:redir @"
:whatever_command_you_want
:redir END
p
The :redir @" redirects to the unnamed register, which is pasted by
the final p without selecting a register because it uses the unnamed
by default.
--
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