I've got a small problem and I'm not sure what to search for, so I hope one of you can point me in the right direction.
My main script have the following trigger to insert french quotes (with the required unbreakable spaces) and reposition the cursor between the quotes when I type 2 straight quotes:
Code: Select all
:*?:""::« »{Left 2}
For example, if I type: "(control+v)" I always get "(content pasted)« ».
Is it possible to ignore my trigger when pasting something? This problem only happens when I paste stuff, and not when I type anything between straight quotes.
Thanks in advance for your suggestions.