Midnight Commander editor

Message
Author
aszabo
Posts: 14
Joined: Fri Dec 13, 2019 2:18 pm

Midnight Commander editor

#1 Post by aszabo »

Hi,

Regarding an issue with Midnight Commander I would like to turn to this forum. I am an old Linux user and I always use Midnight Commander for file handling and I use the MC editor with key F3 but in case of MX I get a new window with command prompt and not the editor. I tried every possibilities for settings but without success. I have never met this issue, can somebody help me solve it?

Thanks in advance.

User avatar
gosia
Posts: 1139
Joined: Sun Apr 28, 2019 3:43 pm

Re: Midnight Commander editor

#2 Post by gosia »

That's weird. For me F3 means "View File" and F4 means "Edit File".
But look at the configuration file /etc/mc/mc.default.keymap. There you can define the keys.

User avatar
fehlix
Developer
Posts: 12702
Joined: Wed Apr 11, 2018 5:09 pm

Re: Midnight Commander editor

#3 Post by fehlix »

aszabo wrote: Fri Dec 13, 2019 2:49 pm Regarding an issue with Midnight Commander I would like to turn to this forum. I am an old Linux user and I always use Midnight Commander for file handling and I use the MC editor with key F3 but in case of MX I get a new window with command prompt and not the editor. I tried every possibilities for settings but without success. I have never met this issue, can somebody help me solve it?
Within keyboard shortcut settings F4 is bound to open the Terminal. Just remove the keyboard shortcut, so that F4 will open the editor in Midnight Commander.

aszabo
Posts: 14
Joined: Fri Dec 13, 2019 2:18 pm

Re: Midnight Commander editor

#4 Post by aszabo »

gosia wrote: Fri Dec 13, 2019 3:15 pm That's weird. For me F3 means "View File" and F4 means "Edit File".
But look at the configuration file /etc/mc/mc.default.keymap. There you can define the keys.
Sorry my fault, I of course meant F4

aszabo
Posts: 14
Joined: Fri Dec 13, 2019 2:18 pm

Re: Midnight Commander editor

#5 Post by aszabo »

OK, thanks but where can set the keyboard bounding? Anyway, so far I did not have this issue, I used MC with default settings and to F4 I have always got the editor.

Route99
Posts: 21
Joined: Wed Nov 27, 2019 12:33 pm

Re: Midnight Commander editor

#6 Post by Route99 »

Under Debian you're always asked at the 1st use to choose for the internal mcedit or another editor.
Now like this?
https://ubuntuforums.org/showthread.php?t=1309409

aszabo
Posts: 14
Joined: Fri Dec 13, 2019 2:18 pm

Re: Midnight Commander editor

#7 Post by aszabo »

Thank you, I changed the default editor to mcedit but after it no change the problem still exists

Route99
Posts: 21
Joined: Wed Nov 27, 2019 12:33 pm

Re: Midnight Commander editor

#8 Post by Route99 »

Maybe you mis the file where the settings are stored, I'n now not able to look.
Try it yourself, use Google to find it.

aszabo
Posts: 14
Joined: Fri Dec 13, 2019 2:18 pm

Re: Midnight Commander editor

#9 Post by aszabo »

One question: do you use MC? And if yes, which editor do you use in terminal in MC?

User avatar
fehlix
Developer
Posts: 12702
Joined: Wed Apr 11, 2018 5:09 pm

Re: Midnight Commander editor

#10 Post by fehlix »

aszabo wrote: Fri Dec 13, 2019 4:54 pm One question: do you use MC? And if yes, which editor do you use in terminal in MC?
I keep F4 bound to mcedit, but use in mc/ terminal also vim and nano ; often also calling geany with the terminal

Post Reply

Return to “General”