Maikol Solís
Maikol Solís

Reputation: 71

Is it possible to auto trigger snippets in Rstudio?

With Rstudio you can add customized snippets but always they should be triggered using TAB or SHIFT-TAB depending on if you are in R or Rmd file.

Is it possible just to trigger the snippet by typing the sequence of characters?

For example, just by typing dm it will create an equation environment without the TAB or SHIFT-TAB intervention.

I'm thinking in something like this especially for typing documents fast with a lot of math and code mixed.

Thanks for any help!

Upvotes: 2

Views: 164

Answers (1)

Maikol Solís
Maikol Solís

Reputation: 71

According to the RStudio devs this feature is not possible right now.

https://github.com/rstudio/rstudio/issues/6834

Upvotes: 1

Related Questions