Let’s say I want the “tab” to act as “set mark” when “#” is contained in the text of the current line.
I set the following key bindings:
{ “keys”: “tab”], “command”: “set_mark”, “context”:
{ "key": "text", "operator": "regex_contains", "operand": "#" }
]
}
It doesn’t work. Yet if I change “text” to “following_text” and put the caret before the “#”, it works.
What’s the problem?
In addition, anyone can dell me the difference between “regex_match” and “regex_contains”?