[ESS] modifying key bindings

Charles C. Berry cberry at tajo.ucsd.edu
Sun Apr 18 18:24:18 CEST 2010


On Sun, 18 Apr 2010, Jeff G. 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.
>

Jeff,

If you 'disable' a command you will be prompted before it executes and can 
skip it if you want. This will gives protection against inadvertent 
keystrokes.

See
    'Customization
 	Customizing Key Bindings
 		Disabling Commands'

  after C-h i m emacs RET


HTH,

Chuck


> 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
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the ESS-help mailing list