Skip to content

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

License

Notifications You must be signed in to change notification settings

carbon-starlight/mc-gui-keybindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published