[ESS] modifying key bindings
jgaroftheeast at gmail.com
Mon Apr 19 20:01:19 CEST 2010
Great, this worked! Thanks to all who responded.
>> I apologize if this is really basic, but I would really, really like
>> to get rid of the key binding C-c C-b which corresponds to
>> ess-eval-buffer. I keep hitting it by accident when trying to type
>> C-c C-n. With longer buffers, this can be a serious pain.
>> After extensive Google searching, I took a shot in the dark and added
>> the line (global-unset-key (kbd "C-c C-b")) to my Preferences.el file.
>> No dice.
> This works for me (you need to do it for the local major mode, rather
> than globally.)
> (defun my-unbind-ess-hook ()
> (local-unset-key (kbd "C-c C-b")))
> (add-hook 'ess-mode-hook 'my-unbind-ess-hook)
More information about the ESS-help