On Wednesday, November 18, 2015 at 5:15:31 PM UTC+13, ping wrote:
...
> I recently switch from ubuntu desktop to ubuntu server , both are 14.04.
> and I couldn't find the register * and +.
...
> although I'm a console vim user...

vim on unices uses X for the clipboard and selection.  If no X server is found, 
I think the * and + become synonyms for the unnamed register, and not shown in 
the :registers display.

Maybe you're thinking of gpm mouse support.  Install the package gpm, and with 
set mouse=a in your .vimrc, a middle click does a paste, but from the unnamed 
register; you still don't get a separate "* and "+ AFAICS. If you want to copy 
outside of vim then paste in it, 
    set mouse=
or
    set mouse=nvc
then in insert mode vim won't see the middle click, and you'll get gpm's 
selection pasted.

For completeness, if there is an X server running on the machine where you're 
using the console, you can

    export DISPLAY=:0

to get vim to use it, but the default setting for the 'clipboard' option 
includes "exclude:cons\|linux" which explicitly turns that off.

HTH, John

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to