Как настроить файловый менеджер Krusader
для копирования имен или полных путей для выбранных файлов/каталогов, как в Total Commander
?
Сопутствующий вопрос:Ярлык для выбора/копирования текущего каталога в файловом менеджере Krusader
решение1
Krusader
-> Useractions
->Manage User Actions...
Добавьте два новых действия пользователя со следующей конфигурацией:
Identifier: Copy Names
Title: &Copy Names
Command: %_Clipboard("%aList("Selected", "\n", "Yes", "", "No")%")%
Shortcut: Ctrl + Alt + N
Identifier: Copy Paths
Title: &Copy Paths
Command: %_Clipboard("%aList("Selected", "\n", "", "", "No")%")%
Shortcut: Ctrl + Alt + P
Krusader
-> Settings
->Configure Keyboard Shortcuts...
Remove duplicated Ctrl + Alt + P shortcut from 'Play/Pause Job' action
or user other shortcut.
Для проверки конфигурации выберите несколько файлов/каталогов. Нажмите, Ctrl + Alt + N
чтобы скопировать в буфер обмена имена, Ctrl + Alt + P
чтобы скопировать пути.
Описание для команд конфигурации изKrusader UserActions:
List - replaced by a list of all <first parameter>
Parameter: Which items; either “All”, “Selected”, “Files” or “Dirs”
Parameter (optional): Separator between the items. Default: “ ”
Parameter (optional): Omit the current path. Default: no
Parameter (optional): Filtermask (for all but “Selected”).
Default: *
Parameter (optional): Automatic escape spaces. Default: yes
Select - manipulates the selection in a panel
Parameter: Filtermask
Parameter (optional): manipulate in which way; either “Set”,
“Add” or “Remove”. Default: “Set”
Clipboard - manipulates the clipboard
Parameter: The text that should go to the clipboard
(you may want to use “%aCurrent%” here)
Parameter (optional): Append the text to the current content
of the clipboard with this separator
Ссылки по теме:
- Re: 'krusader-users' Копировать полный путь к файлу
- Скопировать полный путь к файлу
- Сделать функцию «копировать имена в буфер обмена» более универсальной и заметной (как в Total Commander)
- Krusader UserActions
- Меню действий пользователя Krusader
- Копировать путь к файлу или имя файла в буфер обмена (Total Commander)
- Скопировать текущий путь в буфер обмена или выбрать адресную строку в Total Commander
- Total Commander для Linux