[ESS] Can smart underscore work the other way around?

Vitalie Spinu spinuvit at gmail.com
Fri Mar 7 18:41:42 CET 2014

 >>> Henning Redestig on Fri, 7 Mar 2014 13:18:56 +0100 wrote:

 > switching to another character is already possible by defining
 > ess-smart-S-assign-key. I have it bound to < but is not optimal as I see code
 > from colleagues who copied my configuration have lots of " <- " instead of
 > intended " <- " in their code (two spaces instead of one). I didn't come up with
 > a good way to fix that. Having the assignment appearing after double press is
 > nice but gets difficult to type the character twice then no? Like in with my
 > binding, how would I then write <<- ?

I kinda like the sequence idea. The sequence (" <- " " < " " <<- ")
could be bound on <. Each element of a sequence can be a function that
would do further analysis of the context.


More information about the ESS-help mailing list