Skip to main content

Module magit_core_mode

Module magit_core_mode 

Source
Expand description

MG.1: magit-core shared minor mode.

Activates on EVERY magit buffer. Provides the chords that mean something in all of them: gr refresh, q close, ]]/[[ (sections), ]f/[f (files/entries), folds, and the commit operations. Each navigation chord returns Effect::SelectionChange.

MG.24a: ]c/[c, s/u/x and a/- are NOT here. They act on diff content, which only five of the eleven majors have, so they live on magit-hunk-mode — a chord bound by a mode is consumed unconditionally, so binding them here made them dead keys in a branch list, a log, a stash list, a rebase todo and a blame.

Structs§

ActionRegsGuard
Empty RAII guard — vestigial after MG.13.
MagitCoreMode