Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - position cursor in particular spot #8

Open
yetanothercarbot opened this issue Feb 29, 2024 · 0 comments
Open

Enhancement - position cursor in particular spot #8

yetanothercarbot opened this issue Feb 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yetanothercarbot
Copy link

I'm using this plugin to make maths easier to type, inspired by a similar plugin on the Obsidian.md side.

It would be amazing if it would be possible to specify a position for the cursor after text replacement occurs. For instance, I added a command /dm which inserts the text $$\n\n$$ (in essence, switching to maths mode). It would be very useful if the cursor would then be placed on the empty, middle line.

Similarly, a fraction command which inserts \frac{}{} would be even more useful if the cursor could be placed in the first set of curly braces.

@hieuthi hieuthi added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants