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

Automatica start TSS and format the key #6

Open
yuit opened this issue Jun 17, 2015 · 1 comment
Open

Automatica start TSS and format the key #6

yuit opened this issue Jun 17, 2015 · 1 comment

Comments

@yuit
Copy link

yuit commented Jun 17, 2015

Currently to start the plugin, you have to do :TSSstarthere and type desirable command. Would it be possible to have the plugin start TSS automatically and call TSSkeymap function to get basic keymapping?

@clausreinke
Copy link
Owner

The plugin provides the functionality, it tries not to prescribe how you use it. You could use standard Vim functionality to autorun commands when you open a buffer.

There is the obvious question of figuring out what root file you want to use when starting tss, though - you can't just start a new tss on every .ts file you open (also, note that the keymap is provided as a sample - feel free to use it, but I don't guarantee that it stays the same).

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

No branches or pull requests

2 participants