On Sun, Dec 27, 2015 at 10:30 AM, evlute <teigmantel123@gmail.com> wrote:
> Hello,
>
> first of all, thanks you all of you for helping me. Now i'm in vim because
> on help register on point 8.
> It says that i can use *, + and ~ for retrieving gui information from
> xterm_clipboard. To be honest i don't know who to work with the information
> to reach my goal.
>
> greetz
> ev
The ~ register is read-only (see :help "~) and stores the latest stuff
you dropped on Vim. I don't use it, I find the other two easier to
use.
The + register is used in other programs (and in the gvim Edit menu)
for Edit→Paste, Edit→Cut and Edit→Copy.
On non-X11 platforms (Windows and Mac-Cocoa) the * register is the
same as the + register. On X11, yanking or deleting to it allows that
data to be pasted via <MiddleMouse> in other applications, and putting
from it gets the data selected in another application. In Vim,
<MiddleMouse> does the same in Normal mode, using the * register by
default, unless you just specified another register such as "a by
means of the keyboard.
see
:help registers
:help gui-selections
:help x11-selection
:help <MiddleMouse>
If you know what to copy, cut or paste where, the above will tell you
how to do it. For your original indented-paste problem, I suspect that
the 'paste' option is what makes the difference. Try pasting after
":set paste" and after ":set nopaste" and see if it changes anything.
see
:help paste
:help pastetoggle
In my case, I dont see that problem because I don't use autoindenting
(I source the vimrc_example.vim which includes a line "filetype plugin
indent on" but just after coming back from there my vimrc does
"filetype indent off" [see :help filetype-overview]).
Best regards,
Tony.
--
--
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.
Sunday, December 27, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment