[ESS] Unbind C-<up> and C-<down> from the R process
kamaitachi at gmx.de
Wed Feb 29 20:58:15 CET 2012
On 02/26/2012 11:05 AM, Vitalie Spinu wrote:
>>>>> Alexander Engelhardt<kamaitachi at gmx.de>
>>>>> on Sat, 25 Feb 2012 22:14:30 +0100 wrote:
> > Is there a way to unbind C-<up> only in the *R* mode? I'm really not familiar
> > with Lisp yet.
> (define-key inferior-ess-mode-map (kbd "C-<up>") nil)
Thanks for your response. It didn't work immediately, but it pointed me
in the right direction. I read this after googling for a while:
Keymap used in the ESS process buffer. The bindings from
comint-mode-map are automatically inherited.
Then I tried the following two lines, which worked:
(define-key comint-mode-map (kbd "C-<up>") nil)
(define-key comint-mode-map (kbd "C-<down>") nil)
So I just had to change that mode-map thingy, whatever that is.
Thank you again :)
More information about the ESS-help