Skip to content

meld

The community/apps/meld directory contains files that provide support for the Meld visual diff and merge tool.

The file meld.py defines the application context and actions for Meld. It defines the app as matching the application name "Visual diff and merge tool" and executable meld.exe on Windows. It also defines Talon actions for:

  • tab_open: Opens a new tab (Ctrl+N).
  • tab_previous: Switches to the previous tab (Ctrl+Alt+PageUp).
  • tab_next: Switches to the next tab (Ctrl+Alt+PageDown).
  • tab_jump(number): Jumps to a tab by number (Alt+number), if the number is less than 10.

The file meld.talon defines Talon commands specific to Meld. It activates the user.tabs tag, enabling generic tab navigation commands from the user.tabs context. It adds specific commands for:

  • "change next": Moves to the next change (Alt+Down).
  • "change (previous | last)": Moves to the previous change (Alt+Up).

These files work together to provide a more natural and efficient way to use Meld with Talon. meld.py defines the application context and implements some basic tab actions, while meld.talon activates a tab tag and provides specific commands for navigating changes within the application.