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: Eli Zaretskii
Subject: Re: Emacs keybindings according to file type
Date: Mon, 21 Sep 2020 17:16:40 +0300

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