Answers:
Okiedokie ...让我们看看
$ man-section mc | head -n20
mc (1)
--
Name
Usage
Description
Options
Overview
Mouse support
Keys
Redefine hotkey bindings
第八部分...可能吗?我们看看吧
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
答对了!
cp /etc/mc/mc.keymap ~/.config/mc/
现在,根据需要编辑键映射,并在完成后保存〜/ .config / mc / mc.keymap
有关更多信息,请阅读“密钥(man mc)”部分以及其后的三个部分。
$ cat /home/jaroslav/bin/man-sections
#!/bin/sh
MANPAGER=cat man $@ | grep -E '^^[[1m[A-Z]{3,}'