Thursday, August 25, 2011

Writing only the selected characters

Hi,

How can I write only the selected characters of a line?

Suppose I'm selecting the word 'foo' from the line 'foo bar', if I issue
:'<,'>w ! xclip, the output of xclip -o is going to be 'foo bar' and not
'foo'...

Thanks,
--
Bastien

--
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: