Replies: 2 comments 1 reply
|
Hi, I don't think that clipboard interpretation belongs in keymapper.
Yeah, keymapper could copy the adjacent character and call the script with |
0 replies
|
And $(interpret-clipboard) is not something that currently exists, right? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've defined a number of macros that would be improved if the macro could tell what the adjacent character (like the character immediately following the cursor, if any) was, and act accordingly. In most cases, if the adjacent character is a newline, do nothing; otherwise (which usually mean the adjacent character is an ASCII space character), delete it. Afaict, there's no way to do this--I think I could read that character (using copy), but there's no way in the keymapper to tell what the character is, nor is there an if-then construct.
Am I right? If so, how difficult would it be to add this? (And, I suppose, how much interest would there be, since if I'm the only one who wants this, it's not worth doing.)
All reactions