Pasting into Prompts

Hy, is there any possibility to paste into prompts? I often need to copy short strings from webpages or documents into my "Append File Prompt" but never found a way to do this. Middle-Mouse-Button doesnt work as expected. Thanks -- Dominik Bruhn mailto: dominik@dbruhn.de

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Mon, Jan 26, 2009 at 1:33 PM, Dominik Bruhn wrote:
Hy, is there any possibility to paste into prompts? I often need to copy short strings from webpages or documents into my "Append File Prompt" but never found a way to do this. Middle-Mouse-Button doesnt work as expected.
Thanks
Try C-y. Prompt.hs currently doesn't handle mouse events; just key events. - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkl+A5wACgkQvpDo5Pfl1oKmBQCfZaai3jKT3IiLw7n5Q7QzCl5F pt0An3dApl0q5iKCkhjEGniMWbpqtgD/ =D7+U -----END PGP SIGNATURE-----

On Mon, Jan 26, 2009 at 07:33:22PM +0100, Dominik Bruhn wrote:
Hy, is there any possibility to paste into prompts? I often need to copy short strings from webpages or documents into my "Append File Prompt" but never found a way to do this. Middle-Mouse-Button doesnt work as expected.
I should also point out that you can use XMonad.Util.Selection to do things with the current selection; so, for example, you could make a keybinding to populate an AppendFile prompt with the current selection. For an example, see the implementation of selectSearch in XMonad.Actions.Search. -Brent
participants (3)
-
Brent Yorgey
-
Dominik Bruhn
-
Gwern Branwen