Monday, August 4, 2014

Re: keyboard shortcuts to cut, copy & paste ????

On 2014-08-05 09:37, Francis (Grizzly) Smit wrote:
> I sometimes want to paste with a keyboard short cut but obviously
> ^V doesn't work, in GVim cut copy and paste are available on the
> tool bar, what keyboard short cuts are there to do this ?? I cannot
> find it in help

The system clipboard(s) can be accessed via the "+" and "*"
registers. On Win32, they're the same. In X, the "+" register is
the clipboard register (what's usually accessed with control+[VCX]
for copy/paste) and "*" is the selection register (usually populated
by selecting text, and pasted using the middle mouse button). Thus,
you can use

"+d{motion}

to "cut" whatever {motion} covers, or you can visually select what
you want, then use

"+d

to cut it. You can also do the same with pasting:

"+p

which you can read about at

:help registers

-tim






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