Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.mc.enable

Whether to enable Midnight Commander.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.mc.package

The mc package to use.

Type: null or package

Default:

pkgs.mc

Declared by:

programs.mc.extensionSettings

Settings for mc/mc.ext.ini file. This setting completely replaces the default /etc/mc/mc.ext.ini.

Midnight Commander does not merge this file with the system default, so you should copy the original if you want to preserve default behavior and add your changes there.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  EPUB = {
    Open = "fbreader %f &";
    Shell = ".epub";
  };
}

Declared by:

programs.mc.fileHighlightSettings

Settings for mc/filehighlight.ini file. This setting completely replaces the default /etc/mc/filehighlight.ini.

Midnight Commander does not merge this file with the system default, so you should copy the original if you want to preserve default behavior and add your changes there.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  lua = {
    extensions = "lua;luac";
  };
}

Declared by:

programs.mc.keymapSettings

Settings for mc/mc.keymap file.

Any missing settings will fall back to the system default.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  panel = {
    Up = "up;ctrl-k";
  };
}

Declared by:

programs.mc.panelsSettings

Settings for mc/panels file.

Any missing settings will fall back to the system default.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  Dirs = {
    current_is_left = false;
    other_dir = "/home";
  };
}

Declared by:

programs.mc.settings

Settings for mc/ini file.

Any missing settings will fall back to the system default.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  Panels = {
    show_dot_files = false;
  };
}

Declared by: