help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs keybindings according to file type


From: Christopher Dimech
Subject: Re: Emacs keybindings according to file type
Date: Mon, 21 Sep 2020 16:20:47 +0200

Where can I find some examples?

> Sent: Monday, September 21, 2020 at 2:16 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Emacs keybindings according to file type
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Date: Mon, 21 Sep 2020 08:46:02 +0200
> >
> > I want to set different keybinding according to the type of file I load
> > into a buffer. I wonder how I can do that.
>
> The usual way of doing this is use local-set-key in a mode hook.  Then
> the key bindings will only affect the mode of that file.
>
>



reply via email to

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