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

ENH: Improved suggestions for environments #137

Open
mcocdawc opened this issue Feb 7, 2018 · 1 comment
Open

ENH: Improved suggestions for environments #137

mcocdawc opened this issue Feb 7, 2018 · 1 comment

Comments

@mcocdawc
Copy link
Contributor

mcocdawc commented Feb 7, 2018

Currently the additionalInserts for environments are specified like this:

    latex:
      figure:
        text: 'figure'
        additionalInsert: '\\caption{title}'

It would be great to have similar behaviour as the self defined snippets by atom.
This means that it should be possible to specify a point where the cursor jumps to upon pressing tab.
Something along the line of:

    latex:
      figure:
        text: 'figure'
        additionalInsert: '\\caption{${1:title}}'

Unfortunately this does not work and I don't know enough coffescript to implement it myself.

@ashthespy
Copy link
Owner

Can do, a bit busy right now - so no promises on timeline :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants