Existe uma maneira de alterar os atalhos no comando da meia-noite?

14

Eu não encontrei nada sobre o assunto na Internet. A única linha de .mc/ini que parece relacionada à pergunta é keymap=mc.keymap , mas não tenho ideia do que fazer com ela.

    
por rride 14.08.2012 / 10:13

2 respostas

17

Okiedokie ... vamos ver

$ man-section mc | head -n20
mc (1)
--
 Name
 Usage
 Description
 Options
 Overview
 Mouse support
 Keys
 Redefine hotkey bindings

8ª seção ... isso é possível? Vamos olhar

man mc (rolar, rolar, rolar)

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

Bingo!

cp /etc/mc/mc.keymap ~/.config/mc/

Agora edite os mapeamentos de teclas como quiser e salve o ~ / .config / mc / mc.keymap quando terminar

Para mais informações, leia a seção Chaves ( man mc ) e as três seções seguintes.

$ cat /home/jaroslav/bin/man-sections 
#!/bin/sh
MANPAGER=cat man $@ | grep -E '^^[[1m[A-Z]{3,}'
    
por 14.10.2012 / 18:14
0

No Ubuntu, os mapas de teclado estão em /etc/mc/mc.keymap

    
por 04.02.2018 / 19:43
yii\base\ErrorException
Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Core Warning – yii\base\ErrorException

PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/20190902/memcached.so (/usr/lib/php/20190902/memcached.so: undefined symbol: igbinary_serialize), /usr/lib/php/20190902/memcached.so.so (/usr/lib/php/20190902/memcached.so.so: cannot open shared object file: No such file or directory))

$_GET = [
    'id' => '288301',
    'url' => 'is-there-a-way-to-change-shortcuts-in-midnight-commander',
];

$_COOKIE = [
    'advanced-frontend' => 'b70is7v6ee4cr9c56lq0vvgovh',
    '_csrf-frontend' => 'e27af50cf3ea4db55d493ce1dd6b61f1e2b7ea9415b8e546b19372484ab7ac92a:2:{i:0;s:14:"_csrf-frontend";i:1;s:32:"5JG6GnFYjBfmZ4DCXGH9XCJv9w_PIBX1";}',
];

$_SESSION = [
    '__flash' => [],
];