swift.idea Posted April 27, 2023 Share Posted April 27, 2023 It would be a dramatic enhancement to be able to create multi cursor snippets, where one can tab to the next cursor position Link to comment Share on other sites More sharing options...
jordikt Posted April 27, 2023 Share Posted April 27, 2023 Could you give some examples? Link to comment Share on other sites More sharing options...
vitor Posted April 27, 2023 Share Posted April 27, 2023 Multiple cursors aren’t a standard macOS feature, they’re something specific text editors implement. In other words, you can’t add them generically because they wouldn’t work in most text fields, and Alfred’s snippets work everywhere. Alan He 1 Link to comment Share on other sites More sharing options...
swift.idea Posted April 28, 2023 Author Share Posted April 28, 2023 I see! To clarify, what I meant was sequential cursor positions, not multiple cursors at the same time. So something like {cursor:1} then {cursor:2}, and and so on. would the same limitation apply? Link to comment Share on other sites More sharing options...
vitor Posted April 28, 2023 Share Posted April 28, 2023 Yes. Sequential cursors aren’t a macOS feature either. You have to think in terms of what you can do in any text field. If what you want is a snippet with multiple custom replacements, make a Snippet Trigger connected to a Keyword Input. Save the result of the keyword to a variable and repeat until you have all of them. Then paste. See a simplified version with only one keyword in the documentation. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now