nixp.ru v3.0

20 апреля 2024,
суббота,
04:55:05 MSK

ttoorrmmoozz написал 20 февраля 2005 года в 20:01 (7018 просмотров) Ведет себя неопределенно; открыл 21 тему в форуме, оставил 25 комментариев на сайте.

Можно ли как-то в mc прикрутить выход в каталог на уровень выше к клавише ?

Например , по нажатию backspace .

Напрягает необходимость встать на самую верхнюю пустую строку в каталоге и потом нажать enter .

Genie

где-то в настройках lynx-style привязки

тогда стрелкой влево/вправо — то, что нужно.

ttoorrmmoozz

не понял , как поменять

На всякий привожу содержание файла mc.hint :

Midnight Commander (c) 1995-2001 The Free Software Foundation

Hint: Use C-x t to copy tagged file names to the command line.

Hint: Use C-x p to copy the current pathname to the command line.

Hint: Completion: use M-Tab (or Esc+Tab). Type it twice to get a list.

Hint: Use M-p and M-n to access the command history.

Hint: Need to quote a character? Use Control-q and the character.

Hint: Tired of these messages? Turn them off from the Options/Layout menu.

Hint: Selecting directories: add a slash to the end of the matching pattern.

Hint: If your terminal lacks functions keys, use the ESC+number sequence.

Hint: The homepage of GNU Midnight Commander: http://www.ibiblio.org/mc/

Hint: Please send any bug reports to mc-devel@gnome.org

Hint: Tab changes your current panel.

Hint: VFS coolness: tap enter on a tar file to examine its contents.

Hint: We also have a nice manual page.

Hint: Do you want lynx-style navigation? Set it in the Configuration dialog.

Hint: % macros work even on the command line.

Hint: M-! will allow you to execute programs and see the output in the viewer.

Hint: The file listing format can be customized; do «man mc» for details.

Hint: %D/%T expands to the tagged files in the opposite directory.

Hint: Want your plain shell? Press C-o, and get back to MC with C-o again.

Hint: Setting the CDPATH variable can save you keystrokes in cd commands.

Hint: If you want to see your .* files, say so in the Configuration dialog.

Hint: Want to see your *~ backup files? Set it in the Configuration dialog.

Hint: Completion works on all input lines in all dialogs. Just press M-Tab.

Hint: On slow terminals the -s flag may help.

Hint: Find File: you can work on the files found using the Panelize button.

Hint: Want to do complex searches? Use the External Panelize command.

Hint: To change directory halfway through typing a command, use M-c (quick cd).

Note: Shell commands will not work when you are on a non-local file system.

Hint: Bring text back from the dead with C-y.

Hint: Are some of your keys not working? Look at Options/Learn keys.

Hint: To look at the output of a command in the viewer, use M-!

Hint: F13 (or Shift-F3) invokes the viewer in raw mode.

Hint: Keys not working in xterms? Use our xterm.ad, .ti and .tcap files.

Hint: You may specify the editor for F4 with the shell variable EDITOR.

Hint: You may specify the external viewer with the shell variable PAGER.

Hint: You can disable all requests for confirmation in Options/Confirmation.

Hint: Leap to frequently used directories in a single bound with C-\.

Hint: You can do anonymous FTP with mc by typing 'cd /#ftp:machine.edu'

Hint: FTP is built in the Midnight Commander, check the File/FTP link menu.

Hint: M-t changes quickly the listing mode.

Hint: You can specify the username when doing ftps: 'cd /#ftp:user@machine.edu'

Hint: You can browse RPM files by tapping enter on top of an rpm file.

Hint: To mark directories on the select dialog box, append a slash.

Hint: To use the mouse cut and paste may require holding the shift key

Hint: Key frequently visited ftp sites in the hotlist: type C-\.

fly4life

Имелось в виду следующее: запускаешь MC, заходишь в меню Настройки -> конфигурация и ставишь там галку апротив: «Использовать навигацию в стиле lynx». Тогда по нажатию стрелки влево (<-) будешь попадать в директорию на уровень выше.

sky

Home+Enter ??

ttoorrmmoozz
sky
Home+Enter ??

Это называется «гнуть пальцы» :-)

Мне помог предыдущий совет

sky
ttoorrmmoozz
Это называется «гнуть пальцы» :-)

Мне помог предыдущий совет

Не, это называется приобретённый рефлекс =)

Poor Fred
sky
Home+Enter ??

Это хорошо на обычной клавиатуре. На ноутбуке приходится нажимать еще одну клавишу. Неудобно, короче. Мне бы тоже что-нибудь типа макросов как в FARe интересно было бы.

--ZaP--

лично мне проще написать:

cd .. и нажать Enter

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.