diff-mode-map
diff-mode-map is a variable defined in `
diff-mode.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Keymap for `diff-mode'. See also `diff-mode-shared-map'.
Value:
(keymap
(menu-bar keymap
(Diff menu-item "Diff"
(keymap "Diff"
(Jump\ to\ Source menu-item "Jump to Source" diff-goto-source :help "Jump to the corresponding source line")
(Apply\ hunk menu-item "Apply hunk" diff-apply-hunk :help "Apply the current hunk to the source file and go to the next")
(Test\ applying\ hunk menu-item "Test applying hunk" diff-test-hunk :help "See whether it's possible to apply the current hunk")
(Apply\ diff\ with\ Ediff menu-item "Apply diff with Ediff" diff-ediff-patch :help "Call `ediff-patch-file' on the current buffer")
(Create\ Change\ Log\ entries menu-item "Create Change Log entries" diff-add-change-log-entries-other-window :help "Create ChangeLog entries for the changes in the diff buffer")
(nil menu-item "-----")
(Reverse\ direction menu-item "Reverse direction" diff-reverse-direction :help "Reverse the direction of the diffs")
(Context\ ->\ Unified menu-item "Context -> Unified" diff-context->unified :help "Convert context diffs to unified diffs")
(Unified\ ->\ Context menu-item "Unified -> Context" diff-unified->context :help "Convert unified diffs to context diffs")
(Remove\ trailing\ whitespace menu-item "Remove trailing whitespace" diff-delete-trailing-whitespace :help "Remove trailing whitespace problems introduced by the diff")
(Show\ trailing\ whitespace menu-item "Show trailing whitespace" whitespace-mode :button
(:toggle bound-and-true-p whitespace-mode)
:help "Show trailing whitespace in modified lines")
(nil-11 menu-item "-----")
(Split\ hunk menu-item "Split hunk" diff-split-hunk :enable
(diff-splittable-p)
:help "Split the current (unified diff) hunk at point into two hunks")
(Ignore\ whitespace\ changes menu-item "Ignore whitespace changes" diff-ignore-whitespace-hunk :help "Re-diff the current hunk, ignoring whitespace differences")
(Highlight\ fine\ changes menu-item "Highlight fine changes" diff-refine-hunk :help "Highlight changes of hunk at point at a finer granularity")
(Kill\ current\ hunk menu-item "Kill current hunk" diff-hunk-kill :help "Kill current hunk")
(Kill\ current\ file\'s\ hunks menu-item "Kill current file's hunks" diff-file-kill :help "Kill all current file's hunks")
(nil-17 menu-item "-----")
(Previous\ Hunk menu-item "Previous Hunk" diff-hunk-prev :help "Go to the previous count'th hunk")
(Next\ Hunk menu-item "Next Hunk" diff-hunk-next :help "Go to the next count'th hunk")
(Previous\ File menu-item "Previous File" diff-file-prev :help "Go to the previous count'th file")
(Next\ File menu-item "Next File" diff-file-next :help "Go to the next count'th file"))))
(24 keymap
(52 keymap
(65 . diff-add-change-log-entries-other-window)))
(3 keymap
(6 . next-error-follow-minor-mode)
(2 . diff-refine-hunk)
(23 . diff-ignore-whitespace-hunk)
(4 . diff-unified->context)
(21 . diff-context->unified)
(18 . diff-reverse-direction)
(20 . diff-test-hunk)
(19 . diff-split-hunk)
(14 . diff-restrict-view)
(5 . diff-ediff-patch)
(1 . diff-apply-hunk)
(3 . diff-goto-source))
(27 keymap
(122)
(87)
(113)
(103)
(82)
(114)
(65)
keymap
(remap keymap
(undo . diff-undo))
(82 . diff-reverse-direction)
(114 . diff-restrict-view)
(65 . diff-ediff-patch)
(111 . diff-goto-source)
(87 . widen)
(mouse-2 . diff-goto-source)
(13 . diff-goto-source)
(123 . diff-file-prev)
(125 . diff-file-next)
(75 . diff-file-kill)
(107 . diff-hunk-kill)
(backtab . diff-hunk-prev)
(9 . diff-hunk-next)
(80 . diff-file-prev)
(112 . diff-hunk-prev)
(78 . diff-file-next)
(110 . diff-hunk-next)
keymap
(103 . revert-buffer)
(60 . beginning-of-buffer)
(62 . end-of-buffer)
(104 . describe-mode)
(63 . describe-mode)
(127 . scroll-down-command)
(33554464 . scroll-down-command)
(32 . scroll-up-command)
(113 . quit-window)
(57 . digit-argument)
(56 . digit-argument)
(55 . digit-argument)
(54 . digit-argument)
(53 . digit-argument)
(52 . digit-argument)
(51 . digit-argument)
(50 . digit-argument)
(49 . digit-argument)
(48 . digit-argument)
(45 . negative-argument)
(remap keymap
(self-insert-command . undefined))))