[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diff-goto-source hi-jacks my M-o

From: Tomas Nordin
Subject: Re: diff-goto-source hi-jacks my M-o
Date: Mon, 06 Jul 2020 12:27:13 +0200

Dmitry Alexandrov <> writes:

> Tomas Nordin <> wrote:
>> Anyway, I discovered that one of my favorite custom key-bindings, M-o, which 
>> I use for other-window, was hi-jacked. It was hi-jacked to run the command 
>> `diff-goto-source'.
>> And if one is to be voted away, I vote for my precious M-o to be left alone.
>       (define-minor-mode my-precious-keys-mode "" t)
>       (defvar my-precious-keys-map (make-sparse-keymap))
>       (add-to-list 'emulation-mode-map-alists
>                    (list (cons 'my-precious-keys-mode my-precious-keys-map)))
>         (define-key my-precious-keys-map (kbd "M-o") #'other-window)

OK, tried it and it works, thanks. I tag it for possible use. The good


technique :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]