[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keybinding to change Major Mode according to file type
From: |
Christopher Dimech |
Subject: |
Keybinding to change Major Mode according to file type |
Date: |
Mon, 21 Sep 2020 09:42:37 +0200 |
Can one use keybinding such as f2 loads the bluffer in Major Mode dependent on
the file type.
Example:
If I have a .texi file in whicn I have changed the major mode with 'M-x
org-mode'
I want to press f2 to it will check the file, in my case .texi and change
to major mode as though I keyed 'M-x texinfo-mode'
- Keybinding to change Major Mode according to file type,
Christopher Dimech <=