Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.61 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.61 KB

Use keybindings you are used to in any terminal

Configure your Midnight Commander and MCEdit to use GUI-standard (like in Micro or VSCode) keybindings

image

With advanced mouse support and drop-down menus I always considered MC and MCEdit a great choice for terminal beginners. The only thing that could (and did) complicate their experience are unintuitive default keybinding choices. The configurations you will find here will allow you to use your midnight commander file browser and editor with the same shortcuts you are probably used to in modern GUI applications

Warning: only MCEdit keybindings are avalible yet. The project right now is being actively developed, please, feel free to contribute!

Installation

Run the following command in your terminal:

  • Shortcuts from Nautilus file manager and VSCode text editor:

For UNIX-like systems (Linux, BSDs, Haiku and MacOS):

cd ~/.config/mc && curl -o mc.keymap https://raw.githubusercontent.com/carbon-starlight/mc-gui-keybindings/main/nautilus-vscode/mc.keymap

For Windows (using PowerShell):

Invoke-WebRequest -Uri "https://raw.githubusercontent.com/carbon-starlight/mc-gui-keybindings/main/nautilus-vscode/mc.keymap" -OutFile "C:\Program Files (x86)\Midnight Commander\etc\mc.default.keymap"

Copying

Same license as in standard MC: GPLv3-or-later.

Misc

I also recommend using the Extend layer and some symbol layer for the best typing experience.