Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are keymap config files stored? #87

Open
carbon-starlight opened this issue Aug 19, 2024 · 3 comments
Open

Where are keymap config files stored? #87

carbon-starlight opened this issue Aug 19, 2024 · 3 comments

Comments

@carbon-starlight
Copy link

In UNIX mcedit keymap config files are stored in ~/.config/mc/mc.keymap. (https://superuser.com/a/487663) Creating this folder and file on Windows does not affect keymap. Where to save the config here?

@carbon-starlight carbon-starlight changed the title Where are keymap files stored? Where are keymap config files stored? Aug 19, 2024
@carbon-starlight
Copy link
Author

I found that C:\Program Files (x86)\Midnight Commander\etc\mc.default.keymap is one possible location where modification is possible, but it doesn't seem like it is a good place for personal configurations.

@yehorb
Copy link

yehorb commented Sep 26, 2024

If you invoke "Options -> Save setup" you will get the message Setup saved to C:/Users/yehorb/AppData/Roaming/Midnight Commander. If such a directory does not exist, mc will create it for you. This is the place to put your personal mc.keymap.

@adamyg
Copy link
Owner

adamyg commented Sep 26, 2024

--keymap=<source>, command line option

Also default directory information can be dumped using mc --datadir-info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants