I don't know if there is a way to restore the previous behavior, but instead you can use + . Alternatively, you can put this in a piece of code (if you haven't already). In the "Settings" section, go to the Code tab, scroll down the page and click the Edit Snippets button. Then add something like the following:
snippet hd `r "# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ### HEAD ########## # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"`
Then, when you type hd followed by a tab (actually two tabs, since the first tab displays a few options starting with hd , but hd will be at the top, so you can just double-click the tab) in the R script file, will appear following:
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Even better, you can create a snippet that takes the title text as an argument:
snippet hd `r paste("# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", "### ", "${1:HEAD}", " ##########\n", "# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", sep="")`
Then, when you type hd followed by two tabs, the HEAD text will be highlighted, and you can simply enter the text of the actual title.
eipi10
source share