![像在 Total Commander 中一样将文件名/文件路径复制到 Krusader 中的剪贴板](https://linux22.com/image/1072511/%E5%83%8F%E5%9C%A8%20Total%20Commander%20%E4%B8%AD%E4%B8%80%E6%A0%B7%E5%B0%86%E6%96%87%E4%BB%B6%E5%90%8D%2F%E6%96%87%E4%BB%B6%E8%B7%AF%E5%BE%84%E5%A4%8D%E5%88%B6%E5%88%B0%20Krusader%20%E4%B8%AD%E7%9A%84%E5%89%AA%E8%B4%B4%E6%9D%BF.png)
如何配置文件管理器Krusader
来复制所选文件/目录的名称或完整路径Total Commander
?
答案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 用户操作:
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
相关链接: