[ESS] Help setting key binding for ess
sethfalcon at gmail.com
Mon Mar 20 19:18:10 CET 2006
I would like to map C-= to ess-smart-underscore and have my underscore
key just insert underscores.
Can someone give me a hint as to which hooks I need to add to?
'(lambda () (setq fill-column 80))
(define-key ess-mode-map [?\C-=] 'ess-smart-underscore)
(define-key inferior-ess-mode-map [?\C-=] 'ess-smart-underscore)
(define-key ess-mode-map "_" nil)
(define-key inferior-ess-mode-map "_" nil))))
But it isn't working. Also, when editing Sweave files, even if I do
local-set-key in an R chunk, by the time I move to a different chunk,
my binding has been reset :-(
Help, I'm about to start using '=' instead of '<-'
More information about the ESS-help