Variable: diff-mode-shared-map
diff-mode-shared-map is a variable defined in diff-mode.el.gz.
Value
Large value
- negative-argument
0 digit-argument
1 digit-argument
2 digit-argument
3 digit-argument
4 digit-argument
5 digit-argument
6 digit-argument
7 digit-argument
8 digit-argument
9 digit-argument
< beginning-of-buffer
<backtab> diff-hunk-prev
<mouse-2> diff-goto-source
> end-of-buffer
? describe-mode
A diff-ediff-patch
C-x u diff-undo
DEL scroll-down-command
K diff-file-kill
N diff-file-next
P diff-file-prev
R diff-reverse-direction
RET diff-goto-source
S-SPC scroll-down-command
SPC scroll-up-command
SPC..~ undefined
TAB diff-hunk-next
W widen
g revert-buffer
h describe-mode
k diff-hunk-kill
n diff-hunk-next
o diff-goto-source
p diff-hunk-prev
q quit-window
r diff-restrict-view
{ diff-file-prev
} diff-file-next
Documentation
Basic keymap for diff-mode, bound to various prefix keys.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
;;;;
;;;; keymap, menu, ...
;;;;
(easy-mmode-defmap diff-mode-shared-map
'(("n" . diff-hunk-next)
("N" . diff-file-next)
("p" . diff-hunk-prev)
("P" . diff-file-prev)
("\t" . diff-hunk-next)
([backtab] . diff-hunk-prev)
("k" . diff-hunk-kill)
("K" . diff-file-kill)
("}" . diff-file-next) ; From compilation-minor-mode.
("{" . diff-file-prev)
("\C-m" . diff-goto-source)
([mouse-2] . diff-goto-source)
("W" . widen)
("o" . diff-goto-source) ; other-window
("A" . diff-ediff-patch)
("r" . diff-restrict-view)
("R" . diff-reverse-direction)
([remap undo] . diff-undo))
"Basic keymap for `diff-mode', bound to various prefix keys."
:inherit special-mode-map)