vex: how to use middle click? (paste?)

   3379   3   1
User Avatar
Member
1004 posts
Joined: April 2017
Offline
Hi!

I noticed that when I middle click in a wrangle (in the text area) it looks like it's pasting a line of code I typed earlier. I don't get how it works and how to use it. I'm curious.

-Olivier
User Avatar
Member
61 posts
Joined: April 2018
Offline
I didn't know about this feature but had to try it. It appears to work like X's primary clipboard [specifications.freedesktop.org] – text you highlight goes there, and you can paste it with MMB. It's separate from the standard (CTRL-C, CTRL-V) clipboard.
User Avatar
Member
1004 posts
Joined: April 2017
Offline
Ah! I was confused. I'm used to work in linux where you need to do the middle click as your text is highlighted. In vex, it's easier because houdini remembers the last thing you hightlighted.

To resume:
1. highlight text
2. left click where you want to paste (this un-highlights the text, and that's ok)
3. middle click anywhere in the text field

Thanks!

-Olivier

EDIT: Actually, it doesn't always work…
Edited by olivierth - Nov. 29, 2018 16:24:21
User Avatar
Member
2 posts
Joined: April 2017
Offline
olivierth

EDIT: Actually, it doesn't always work…

Only works when you drag select, not if you double click a word to highlight it.
Cool trick!!
  • Quick Links