將檔案名稱/檔案路徑複製到 Krusader 中的剪貼簿,就像在 Total Commander 中一樣

將檔案名稱/檔案路徑複製到 Krusader 中的剪貼簿,就像在 Total Commander 中一樣

如何設定檔案管理器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 使用者操作:

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        

相關連結:

相關內容