In Emacs Speaks Statistics
for R
, how can the auto replacement of _
with <-
be turned off?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To stop this smart behaviour, add (ess-toggle-underscore nil)
to your .emacs after ess-site
has been loaded.
回答2:
What rcs said. But pressing _ again will turn the "<-" into "_" when you need it. So, when you need an underscore, just press it twice.