2013-02-10 62 views
11

我想通過hjkl鍵瀏覽面板的目錄/文件。這有點像用hjkl elinks,少用hjkl或vifm。將午夜指揮官的按鍵綁定更改爲VIM?

按Ctrl +箭頭鍵向左做一個排序ALT +的我

你會知道這些快捷鍵是可能的嗎? 如果是,請介意給一些幫助或配置文件的例子。

期待聽到你

親切的問候

回答

0

尋找同樣的信息BTW。我想完全配置我的mc鍵盤綁定。希望有人走來......

FWIW我發現這一點:

6.1.1默認鍵盤綁定吸!

>Problem B_alertblock 
>The default key bindings suck! I want to change them! 
> 
>Solution B_alertblock 
>Despite what the Internet tells you, with a recent enough 
>Midnight Commander, one can change the key bindings. 
> 
>Quip B_block 
>But you'll need a PhD to figure out how. 

>

來源:http://www.nawaz.org/media/docs/mc/mc.html

4

檢查此優良answer

的配置存儲在

$HOME/.config/mc/ 

在你的情況下編輯文件$HOME/.config/mc/ini。您可以使用strace檢查哪些 文件由午夜指揮官實際讀的:

strace -e trace=open -o mclog mc 

,我發現我的鍵綁定(在Ubuntu 12.04)在/etc/mc/mc.keymap