You have two options in general.
Changing MC keybindings through editing `$HOME/.config/mc/mc.keymap`
Changing Nano keybindings through editing `$HOME/.nanorc`
Both are well documented in their respective "Info" entry and also their
"manpages".
For example:
```
$ info nano
$ info mc
$ man nano
$
Hi,
take a look atman nano REBINDING KEYS .
Disclaimer, I didn't read it, so I don't know what exactly you can do.
I'm using a ~/.nanorc for a customized universal light-on-dark syntax
highlighting, not to modify shortcuts.
Regards,
Ralf
--
mc mailing list
On Sat, 27 Jan 2024, Alexander Oberhuber via mc wrote:
So how do I handle the mc to work with nano as editor and avoid the
triggering of CTRL+O ?
You should be able to unbind or change "Shell" keymap shortcut:
https://github.com/MidnightCommander/mc/blob/master/misc/mc.default.keymap#L32
--
Hello,
I have a tiny little stupid question: I never use CTRL+O, and I don't
intend to.
But when I use "nano" as an editor, CTRL+O is assigned the "save
file" function, which is essential.
So how do I handle the mc to work with nano as editor and avoid the
triggering of CTRL+O ?
--
mc mailing