Monday, August 4, 2014

Re: ssh and star register?

On 04/08/14 17:30, Bee wrote:
> @Tony Thank you, your test looking at the register list works.
>
> I tried in vimrc:
> ```
> let @* = 'star'
> echo @*
> ```
> and it returned 'star'
> but after vim started, there was no @* in the register list!
>
> Do you know how/why the star register is working before vim is fully started but not after?

IIUC, empty registers are not listed. I'm not sure which circumstances
can clear the star register, considering that (in X11) selecting
anything in any program (except in Vim if 'clipboard' does not include
"autoselect" and 'guioptions' does not include the a flag) makes that
program the owner of the X selection and sets the X selection to the
value of the selected area.

The star register cannot thus be used to hold anything for any length of
time: any selection in any program will replace it. The + register is
somewhat longer-term but not much; at least changing the clipboard
contents usually requires an explicit action.


Best regards,
Tony.
--
All things are possible, except for skiing through a revolving door.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment