A. Shortcut keys

Most common shortcut keys familiar from other Windows applications work in WinMerge.

Table A.1. Directory compare

Key Function
Enter Open selected item (if folder, open it)
Backspace Open parent folder if possible (only available when subfolders are not included in compare)
F5 Rescan directories
Alt-Home Go to first different file/directoriy
Alt-End Go to last different file/directoriy
Alt-Enter Go to currently selected item (if scrolled off-screen)
Alt-Up Arrow Go to previous different file/directory
Alt-Down Arrow Go to next different file/directory
Alt-Left Arrow Copy selected items from right to left
Alt-Right Arrow Copy selected items from left to right

Table A.2. File compare

Key Function
Esc Close window (if enabled in options)
F3 Find again
F4 Show line difference
F5 Refresh
F6 Change pane (active file)
F7 Go to previous difference
F8 Go to next difference
F9 Turn Merge mode on/off
Ctrl-G Go to difference or line
Ctrl-Z Undo last action
Ctrl-Y Redo previously undone action

Table A.3. Difference navigation and merging (normal mode)

Key Function
Alt-Home Go to first difference
Alt-End Go to last difference
Alt-Enter Go to current difference or select difference
Alt-Up Arrow Go to previous difference
Alt-Down Arrow Go to next difference
Alt-Left Arrow Copy difference from right side to left side
Alt-Right Arrow Copy difference from left side to right side
Ctrl-Alt-Left Arrow Copy difference from right side to left side and select next difference
Ctrl-Alt-Right Arrow Copy difference from left side to right side and select next difference
Ctrl-F2 Toggle Bookmark
F2 Next Bookmark
Shift-F2 Prev Bookmark
Ctrl-Shift-F2 Clear All Bookmarks
Alt-0 Goto Bookmark 0
Ctrl-0 Toggle Bookmark 0
Alt-1 Goto Bookmark 1
Ctrl-1 Toggle Bookmark 1
Alt-2 Goto Bookmark 2
Ctrl-2 Toggle Bookmark 2
Alt-3 Goto Bookmark 3
Ctrl-3 Toggle Bookmark 3
Alt-4 Goto Bookmark 4
Ctrl-4 Toggle Bookmark 4
Alt-5 Goto Bookmark 5
Ctrl-5 Toggle Bookmark 5
Alt-6 Goto Bookmark 6
Ctrl-6 Toggle Bookmark 6
Alt-7 Goto Bookmark 7
Ctrl-7 Toggle Bookmark 7
Alt-8 Goto Bookmark 8
Ctrl-8 Toggle Bookmark 8
Alt-9 Goto Bookmark 9
Ctrl-9 Toggle Bookmark 9

Table A.4. Difference navigation and merging (merge mode)

Key Function
Up Arrow Go to previous difference
Down Arrow Go to next difference
Left Arrow Copy difference from right side to left side
Right Arrow Copy difference from left side to right side
Ctrl-Alt-Left Arrow Copy difference from right side to left side and select next difference
Ctrl-Alt-Right Arrow Copy difference from left side to right side and select next difference

Table A.5. Find and Replace

Key Function
Ctrl-F Find text
Ctrl-H Replace text with another text
F3 Find/Replace again.
Shift-F3 Find/Replace upwards in file
Ctrl-F3 Find selected text in file
Ctrl-Shift-F3 Find selected text upwards in file