clipboard, you can just yank it into the * (X11 primary selection) or +
(X11 clipboard) register. For instance, to yank the current line:
"*yy
...or...
"+yy
If you want to pipe text to an arbitrary external program, you can use
the ! command or one of its variants. This removes the text from the
file, filters it through a command, and then puts the filtered output
back in its place. With xclip in particular, you could do something like
:.!xclip; xclip -o
if you want the text in your Vim buffer to remain unchanged. There may
be a better way to do that that I'm not aware of though. See ":h filter"
for info on the ! commands.
--
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