rri*_*ide 18 linux keyboard-shortcuts midnight-commander
我在 Internet 上没有找到有关该主题的任何内容。
.mc/ini看起来与问题相关的唯一一行是keymap=mc.keymap,但我不知道如何处理它。
Яро*_*лин 30
Okiedokie...让我们看看
$ man-section mc | head -n20
mc (1)
--
Name
Usage
Description
Options
Overview
Mouse support
Keys
Redefine hotkey bindings
Run Code Online (Sandbox Code Playgroud)
第8节……可以吗?我们看看吧
man mc(滚动,滚动,滚动)
Redefine hotkey bindings
Hotkey bindings may be read from external file (keymap-file). A keymap-
file is searched on the following algorithm (to the first one found):
1) command line option -K <keymap> or --keymap=<keymap>
2) Environment variable MC_KEYMAP
3) Parameter keymap in section [Midnight-Commander] of config file.
4) File ~/.config/mc/mc.keymap
5) File /etc/mc/mc.keymap
6) File /usr/share/mc/mc.keymap
Run Code Online (Sandbox Code Playgroud)
答对了!
cp /etc/mc/mc.keymap ~/.config/mc/
Run Code Online (Sandbox Code Playgroud)
现在根据需要编辑键映射并在完成后保存 ~/.config/mc/mc.keymap
有关更多信息,请阅读 Keys ( man mc ) 部分及其后的三个部分。
$ cat /home/jaroslav/bin/man-sections
#!/bin/sh
MANPAGER=cat man $@ | grep -E '^^[[1m[A-Z]{3,}'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
9712 次 |
| 最近记录: |