[ESS] modifying key bindings

S. McKay Curtis smcurtis at stat.washington.edu
Sun Apr 18 17:21:57 CEST 2010


Jeff,

Adding this

(add-hook 'ess-mode-hook
	  '(lambda()
	     (local-unset-key (kbd "C-c C-b"))
	     ))


to my .emacs file seemed to work.

Best
McKay


On Sun, Apr 18, 2010 at 7:12 AM, Jeff G. <jgaroftheeast at gmail.com> wrote:
> Hi all,
>
> 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.
>
> Any ideas?
>
> Thank you!
>
> Jeff
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>



More information about the ESS-help mailing list