midnight commander: use default editor
β’ 84 words β’ 1 min β’ updated
When using midnight commander to edit files
(with the default F4 keybinding), it defaults to using
mcedit(1):
mcedit β Internal file editor of GNU Midnight Commander
This is not great for my muscle memory.
I’d rather use my $EDITOR1.
% GIT_PAGER=cat git show
commit 8ffb7995db8d845ca227a6e5360124bef3680113 (HEAD -> master, origin/master, origin/HEAD)
Author: Thiago Perrotta <{redacted}>
Date: Tue Aug 26 14:54:48 2025 +0200
mc: use_internal_edit
diff --git mc/.config/mc/ini mc/.config/mc/ini
index 487267e..13b7643 100644
--- mc/.config/mc/ini
+++ mc/.config/mc/ini
@@ -1,2 +1,3 @@
[Midnight-Commander]
skin=modarin256
+use_internal_edit=false-
Currently:
vim. ↩︎
Backlinks
- midnight commander: Fn keys (Aug 28, 2025)