Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy and paste into iVim #261

Open
grymmjack opened this issue Feb 1, 2023 · 1 comment
Open

Copy and paste into iVim #261

grymmjack opened this issue Feb 1, 2023 · 1 comment

Comments

@grymmjack
Copy link

In normal mode "*p
In command mode press CTRL-r then *

why I wrote this:
I was trying to paste a GitHub repo url into :iplug add

Maybe add to FAQ/ if not already there and I missed it.

@sedm0784
Copy link

sedm0784 commented Feb 17, 2023

This isn't specific to iVim (although I agree it wouldn't hurt to add an entry to the wiki explaining that iVim supports Vim's usual clipboard mechanisms).

It's documented in a bunch of places in the user and reference manuals, but the clearest is probably at :help 04.7 (From the fourth paragraph onwards, starting with the below.)

If you are not using the GUI, or if you don't like using a menu, you have to use another way. You use the normal "y" (yank) and "p" (put) commands, but prepend "* (double-quote star) before it. To copy a line to the clipboard:

See also #253.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants