Variable: magit-hunk-section-map

magit-hunk-section-map is a variable defined in magit-diff.el.

Value

                              magit-apply
                              magit-diff-visit-file
                              magit-discard
                              magit-file-rename
                              magit-file-untrack
                              magit-reverse
                              magit-stage
                              magit-unstage
&                             magit-do-async-shell-command
<1> <magit-menu-format-desc>  nil
<2> <magit-menu-format-desc>  nil
<3> <magit-menu-format-desc>  nil
<4> <magit-menu-format-desc>  nil
<5> <magit-menu-format-desc>  nil
<7> <magit-menu-format-desc>  nil
C                             magit-commit-add-log
C-<return>                    magit-diff-visit-worktree-file
C-c C-e                       magit-diff-edit-hunk-commit
C-c C-t                       magit-diff-trace-definition
C-c ^ RET                     magit-smerge-keep-current
C-c ^ a                       magit-smerge-keep-all
C-c ^ b                       magit-smerge-keep-base
C-c ^ l                       magit-smerge-keep-lower
C-c ^ u                       magit-smerge-keep-upper
C-j                           magit-diff-visit-worktree-file
C-x 4 <return>                magit-diff-visit-file-other-window
C-x 4 a                       magit-add-change-log-entry-other-window
C-x 5 <return>                magit-diff-visit-file-other-frame
C-x a                         magit-add-change-log-entry

Documentation

Keymap for hunk sections.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defvar magit-hunk-section-map
  (let ((map (make-sparse-keymap))
        (key (key-description smerge-command-prefix)))
    (when (key-valid-p key)
      (keymap-set map key magit-hunk-section-smerge-map))
    (set-keymap-parent map magit-diff-section-base-map)
    map)
  "Keymap for `hunk' sections.")