viminfo do not save registers, but clipboard still set at startup ?

2020-06-04 Thread M Kelly
Hi,

I have my viminfo set to not save any registers:

viminfo='20,:10,<0

I have clipboard set to include unnamedplus:

clipboard=autoselectml,unnamedplus,exclude:cons\|linux

I deliberately clear out my X11 selection and clipboard such that:

xsel -o -b
xsel -o -p

show nothing.

If I start vim I see some text in the + and * registers and now my X11 
clipboard is set with that same data.

Does anyone know where is this data coming from ?  And if there is a way to 
not have it be loaded at startup ?

thx always for everything vim,
-m



-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/eb225b91-b9d2-45ee-a162-f1f036ab0bcbo%40googlegroups.com.


Re: viminfo do not save registers, but clipboard still set at startup ?

2020-06-04 Thread M Kelly
Hi again,

The data that is loaded into the * and + registers _seems_ to be a recently 
deleted line from a previous session.
But I am sure to exit all vim processes.

thx,
-m

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/45cc5f1f-842a-4bd0-952e-6b29a930cb44o%40googlegroups.com.


Re: viminfo do not save registers, but clipboard still set at startup ?

2020-06-04 Thread M Kelly
Hi,

Thanks.
Even if I unset clipboard and set history to 0, I still get * and + set on 
startup.
I just wonder where/how vims saves and restores this info and if it can be 
disabled ?
Its not in my viminfo file.  Its still there even if i start vim -i NONE

# Expression History (newest to oldest):

# Input Line History (newest to oldest):

# Debug Line History (newest to oldest):

# Registers:

#

thx,
-m

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/b18ca0dd-0f1a-4a26-ac33-d0f3e70e65dfo%40googlegroups.com.


Re: viminfo do not save registers, but clipboard still set at startup ?

2020-06-05 Thread M Kelly
Hi,
Tony, thanks always for your info.

My point is the X11 selection and clipboard are empty and my viminfo does 
not contain any register info, yet after starting vim the + and * regsiters 
contain info.
This seems a bit odd to me since:
1). I did not save register info and I've confirmed my viminfo does not 
have any register info in it.
2). the X11 selection and clipboard were empty before starting vim and I've 
comfirmed that via xsel/xclip/etc.
It just seems a mystery to me how these two registers get filled.
I'll keep looking, even if just for my own curiosity :-)
If you clear out your X11 selection and primary and then start vim without 
a viminfo, are your * and + set with some info ?
It must be some other history/undo or something I am missing.
take care,
-m

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/1398d618-e6e0-410a-8307-784a54509a13o%40googlegroups.com.


persistent highlight between marks ?

2020-06-13 Thread M Kelly
Hi,

Anyone know of a way to set a start mark and then an end mark and then 
highlight all text between them ?
So that is stays highlighted, even if I move the cursor away or scroll etc. 
Sort of like a visual mode selection that remains after you move away.

thx for all things vim,
-m

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/133c1d7b-8b75-4d63-9299-3c2ecf745ec1o%40googlegroups.com.


<    1   2