-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I use Typora for everything (it's just awesome), and it would boost my (and potentially other's) productivity by making copying things like variable names, user names, links, etc. from Typora to the clipboard if the function to "Select Styled Scope" (Ctrl+E) was slightly modified:
(1) Initially, if there is no selection (on the first key press of the shortcut), the text in scope should select the text within the current style, without the characters that define the markdown style.
Example 1:
Text that is edited: ...text ==user||name== text ...
Begin and end of current selection are signified by "|" (i.e., no selection in this case)
User presses Ctrl+E
Resulting selection should be: ...text ==|username|== text ...
Example 2:
...text **bold ||text** text ...
--> Ctrl+E --> ...text **|bold text|** text
...
(2) If the keyboard shortcut is activated a second time, the selection could be enlarged to contain the formatting characters.
Example 1: ...text ==user||name== text ...
--> Ctrl+E --> ...text ==|username|== text ...
--> Ctrl+E --> ...text |==username==| text ...
Example 2: ...text **bold ||text** text ...
--> Ctrl+E --> ...text **|bold text|** text ...
--> Ctrl+E --> ...text |**bold text**| text ...
(Most used for me would be code blocks using the backtick, but I can't give an example for that as this will be formated weirdly)
Alternatively, there could be a different selection mechanism that just selects the scope without the formatting characters, e.g., "Select Unstyled Scope" or sth along those lines.
I would greatly appreciate such a feature. Thank you in advance for considering it.