[ESS] disable C-c C-b

Martin Maechler maechler at stat.math.ethz.ch
Fri Nov 26 09:05:24 CET 2010


>>>>> "BS" == Bond, Stephen <Stephen.Bond at cibc.com>
>>>>>     on Tue, 16 Nov 2010 16:51:05 -0500 writes:

    BS> Please, advise how to disable C-c C-b, which I sometimes hit accidentally instead of C-n and it does bad things as I keep a lot of code in a single file.
    BS> Thanks everybody.

The following, put into your ~/.emacs  file 
should work :

(add-hook 'ess-mode-hook
	  '(lambda ()
	     (define-key ess-mode-map "\C-c\C-b" nil))); instead of  'ess-eval-buffer

Regards,

Martin Maechler, ETH Zurich



More information about the ESS-help mailing list