[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.
>
>
- Emacs keybindings according to file type, Christopher Dimech, 2020/09/21
- Re: Emacs keybindings according to file type, Eli Zaretskii, 2020/09/21
- Re: Emacs keybindings according to file type,
Christopher Dimech <=
- Re: Emacs keybindings according to file type, Christopher Dimech, 2020/09/23
- Re: Emacs keybindings according to file type, Yuri Khan, 2020/09/23
- Re: Emacs keybindings according to file type, Christopher Dimech, 2020/09/23
- Re: Emacs keybindings according to file type, Yuri Khan, 2020/09/23
- Re: Emacs keybindings according to file type, Christopher Dimech, 2020/09/23
- Re: Emacs keybindings according to file type, Marcin Borkowski, 2020/09/23
- Re: Emacs keybindings according to file type, Emanuel Berg, 2020/09/23