Appendix A. Shortcut keys

WinMerge includes most of the familiar shortcut keys commonly used in other Windows applications.

Table A.1. Folder compare

Keys Function
Enter Open selected file or folder
Backspace Open parent folder if possible (available only when subfolders are not included in compare)
F5 Rescan folders
Alt+Home Go to first different file or folder
Alt+End Go to last different file or folder
Alt+Enter Go to currently selected item (if scrolled off-screen)
Alt+Up Arrow Go to previous different file or folder
Alt+Down Arrow Go to next different file or folder
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

Keys Function
Esc Close window (if enabled in options)
F4 Show line difference
F5 Refresh
F6 Change pane (active file)
F7 Go to previous difference
F8 Go to next difference
F9 Merge Mode on or off (toggle)
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)

Keys 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

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

Keys 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

Keys Function
Ctrl+F Find text (opens Find dialog)
Ctrl+H Replace text (opens Replace dialog)
F3 Find next
Shift+F3 Find previous
Ctrl+F3 Find selected text in file
Ctrl+Shift+F3 Find selected text upwards in file

Table A.6. Bookmarks

Keys Function
Ctrl+F2 Toggle Bookmark
F2 Next Bookmark
Shift+F2 Previous 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.7. Zoom

Keys Function
Ctrl++ Increase text size
Ctrl+- Decrease text size
Ctrl+* Reset text zoom to default size
Ctrl+MouseWheel Up Increase text size
Ctrl+MouseWheel Down Decrease text size