obsidian-latex-suite icon indicating copy to clipboard operation
obsidian-latex-suite copied to clipboard

[Bug] With vim mode, <kbd>Tab</kbd> does not work for snippets with recurring tabstops like `$0, $1, $0, $2`

Open jcpaik opened this issue 1 year ago • 0 comments

Consider the following snippet.

{trigger: "tst", replacement: "$0, $1, $0, $2", options: "tA"},

In a fresh vault with no 'Vim key bindings on', this works as expected. The keystrokes "tstalphaTabbetaTabgamma" produces "alpha, beta, alpha, gamma".

But if we turn on the "Vim key bindings on' option in Editor, and do keystrokes "tstalphaTab", the cursor does not move from $0 to $1 but instead but just indents the whole line as alpha, , alpha, (note the indentation).

jcpaik avatar Feb 08 '23 14:02 jcpaik