joeyuping / quick_latex_obsidian

MIT License
326 stars 21 forks source link

Feature Ehanced Request: Use Tab to Expand Snippets #80

Closed langshangyuan closed 1 year ago

langshangyuan commented 1 year ago

Currently the plugin is quite awesome, it brazlingly boosts my speed of writing latex math equaiton in Obsidian. In other editors, we tend to use the tab key to expand pre-defined snippets. I dream to keep this behavior consistent between different applications.

Hope you can add the option which allows user to expand the snippets using tab key. (Although I know, there are some undesired outcome when you press tab under different situation.😂)

Thank you for your awesome plugin again!!!

langshangyuan commented 1 year ago

An additional suggestion, if user delete the first $ symbol, the following $ will automatically be deleted.

joeyuping commented 1 year ago

thank you for the great suggestion!! give me some time

Catyre commented 1 year ago

Any updates on this change? Found this thread after my own wishing for tab-completing of snippets rather than using space (a lot of the time, I really do mean to use 'space').

Great job on the plugin, I started using it today and so far it's been great!

joeyuping commented 1 year ago

Hi @Catyre @langshangyuan

Really sorry for the late update!! Please see v2.6.1. A setting toggle has been added to allow the use of TAB for autocompletion.

Deletion of $ symbol as a pair has also been added. @langshangyuan

Thanks!