WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.6k stars 804 forks source link

Add Alt+Shift+Left/Right Arrow hotkey to Copy Selected Line(s) #2498

Open ltguillaume opened 3 weeks ago

ltguillaume commented 3 weeks ago

Copy Selected Line(s) to Left/Right are very useful context menu items, but they do not have a keyboard shortcut connected to them.

I propose Alt Shit Left and Alt Shit Right for them, respectively.

sdottaka commented 3 weeks ago

The Alt+Shift+Left/Right shortcut keys are already assigned to the Copy from Left/Right menu item, so if you were to assign Copy Selected Line(s) to them, it would probably be a different key.

ltguillaume commented 3 weeks ago

The Alt+Shift+Left/Right shortcut keys are already assigned to the Copy from Left/Right menu item, so if you were to assign Copy Selected Line(s) to them, it would probably be a different key.

Yes, but do those make any sense? Copy from left also works with just Alt Right when you're in the right panel, Copy from right also works with just Alt Left when you're in the left panel, so to my knowledge there's no reason for the additional hotkeys with Shift.

sdottaka commented 2 weeks ago

When comparing two files "Copy from Left/Right" are not necessary, but when comparing three files, in the middle pane they can be useful.

ltguillaume commented 2 weeks ago

Ah I never used 3 panes at once, I now see their use. Thanks! That said, I'd really love it if you'd consider appointing hotkeys to the Copy Selected Line(s) operations. Currently, I need to use AutoHotkey to make them accessible via hotkeys.