You are not logged in.
Pages: 1
Hallo,
I'm new to mc, but I already love it! I still have 2 questions:
1. how to change directory upwards/downwards with single keys (like in vifm)? Is it possible?
2. how to modify the '\' (backslash) key-bind to something else? I only can type '\' pressing (altgr+q) with my Hungarian keyboard, so this important function doesn't work for me.
Thank you in advice ![]()
Offline
1. Ctrl PageUp / Ctrl PageDown.
2. I guess - and + do this (select / deselect files).
And a quote from FAQ:
2.8 How do I change the key bindings?
There is no generic way to reconfigure the key bindings. You can use
the "Learn Keys" dialog to assign keys to some actions listed in that
dialog. However, most actions cannot be redefined to use different
keys.
Still, if your terminal is configured properly, you should not experience severe problems adopting to MC. (Sometimes a keystroke works fine in urxvt and doesn't in xterm, though...)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
From man mc 'Redefine hotkey bindings':
Hotkey bindings may be read from external file (keymap-file).
The default one is /etc/mc/mc.keymap. You can copy it to ~/.local/share/mc/mc.keymap and make the changes there.
The keymap-file in ~/.local/share/mc will take precedence over the one in /etc/mc.
The backlash key to unselect is the same as the minus key (-) for the same function. So you can use that without changing key bindings.
Last edited by berbae (2011-11-01 10:29:32)
Offline
ok, but I need to press ctrl+\, but I can't, because \ = altgr+q, and ctrl+altgr+q = q (in the terminal)
I hope you can understand that, it is not too easy to declare ![]()
ctrl+\ to reach FTP quicklist
Last edited by puntigamer (2011-11-01 12:25:37)
Offline
With my keyboard I get baskslash with altgr+8
And the combination ctrl+altgr+8 works and gives the Hotlist function, defined as ctrl+backslash in mc.keymap.
The keys ctrl altgr and 8 are to be pressed simultaneously.
But you can redefine another binding for the Hotlist function:
just copy /etc/mc/mc.keymap to ~/.local/share/mc/mc.keymap
edit ~/.local/share/mc/mc.keymap changing the line:
HotList = ctrl-backslash
to another key combination.
Then exit/launch mc to use the new key binding.
Offline
Pages: 1