Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-opus-4-20250514-thinking-16k· AnthropicHugging Face LMArena Human Preference 140K

In Krusader ActionMan how do I add a command to open Kdiff3 in merge mode with selected…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Mistralmagistral-medium-2506’s answer.
  1. User

    In Krusader ActionMan how do I add a command to open Kdiff3 in merge mode with selected files from both Krusader panels?

  2. Claude Assistant

    To add a command in Krusader's ActionMan to open Kdiff3 in merge mode with selected files from both panels:

    1. Open ActionMan by going to Tools → ActionMan (or press Alt+Shift+A)

    2. Click New Action to create a new user action

    3. Configure the action with these settings:

      Basic tab:

      • Identifier: Give it a unique name like kdiff3_merge
      • Title: "Merge with Kdiff3"
      • Icon: Choose an appropriate icon (optional)
      • Category: Choose or create a category like "Diff Tools"

      Command tab:

      • Command: kdiff3 --merge %aList("Selected")% %iList("Selected")%
      • Execution mode: "Run in terminal" (unchecked, unless you want console output)
      • Accept: Set to "Local files only" (or as needed)

      Advanced tab:

      • Enable "Separate standard error" if you want to see error messages
    4. The key placeholders used:

      • %aList("Selected")% - Gets selected files from the active panel
      • %iList("Selected")% - Gets selected files from the inactive panel
    5. Click OK to save the action

    For a 3-way merge (with base file), you might want to create a variant that uses:

    kdiff3 --merge %aPath%%aFile% %iPath%%iFile% -o %aPath%%aFile%
    

    You can then access this action through:

    • The User Menu (if you assigned it there)
    • Right-click context menu
    • Assign a keyboard shortcut in Settings → Configure Shortcuts

    Note: Make sure you have exactly one file selected in each panel when using this action, as Kdiff3's merge mode typically expects 2-3 input files.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.