Is there a RELIABLE way to detect the star register?
vim version 7.4.383 compiled with +clipboard
If I put this in the .vimrc:
if has("clipboard")
let @9 = '9999' | echo @9
let @* = 'star' | echo @*
redir @" | silent reg | redir END | echo @"
endif
On starting vim it will display:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9999
star
--- Registers ---
"9 9999
Press ENTER or type command to continue
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:reg does NOT detect the star register.
Then if I enter on the vim cli:
:reg
vim will display:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Registers ---
"" ^J--- Registers ---^J"9 9999^J"% vim_dev-cb.txt
"0 ^J--- Registers ---^J"9 9999^J"% vim_dev-cb.txt
"9 9999
"- ^J--- Registers ---^J"9 9999^J"% vim_dev-cb.txt
"* star
"% vim_dev-cb.txt
"/ \s\+$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.