Bug#261596: vim: Yanking text and then pasting in Mozilla does not work

jamessan@jamessan.com, 261596@bugs.debian.org jamessan@jamessan.com, 261596@bugs.debian.org
Fri, 18 Mar 2005 12:55:03 -0500


--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This isn't a bug in either program.  This behavior is because the yank
you performed just placed the text in X's PRIMARY selection.  This is
used for visual selections.  If you want the text to be in X's CLIPBOARD
(so you can use an application's "paste" operation), you should yank the
text into the "+ register.  E.g., to yank a line into the + register,
use:

"+yy

Vim's quoteplus help section (:help quoteplus) describes the difference
in behavior between "+ and "*.

Other useful help topics:
:help quotestar
:help y

James
--=20
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@jamessan.com>

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEARECAAYFAkI7FfcACgkQDb3UpmEybUAp6QCfYH7/K8ltykJ/E0QkWJV4jebW
RjoAnRFS+WOIc9yDSwXduEzyMjU9KFCq
=Pfv1
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--