aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/forge/README.org
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-07-05 01:19:30 -0400
committerJack Jamison <jackqjamison@gmail.com>2026-07-05 01:19:30 -0400
commitbdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 (patch)
treec4524e6c41aa5107211103401dabfaefc81aa882 /.config/emacs/lisp/evil-collection/modes/forge/README.org
parentfe3984f541bd32bdfa418afb305b614176b55ca0 (diff)
add a bunch of emacs packages HELP
Diffstat (limited to '.config/emacs/lisp/evil-collection/modes/forge/README.org')
-rw-r--r--.config/emacs/lisp/evil-collection/modes/forge/README.org44
1 files changed, 44 insertions, 0 deletions
diff --git a/.config/emacs/lisp/evil-collection/modes/forge/README.org b/.config/emacs/lisp/evil-collection/modes/forge/README.org
new file mode 100644
index 0000000..b7cf5d5
--- /dev/null
+++ b/.config/emacs/lisp/evil-collection/modes/forge/README.org
@@ -0,0 +1,44 @@
+* forge
+
+ Evil bindings for [[https://github.com/magit/forge][forge]].
+
+ Setup disables =forge-add-default-bindings= (which would clobber evil keys
+ on magit maps), then rebinds forge dispatch and remaps =magit-browse-thing=
+ on the relevant magit section maps. The state used is controlled by
+ =evil-collection-forge-state=.
+
+** Key bindings
+
+*** magit-mode-map
+
+ | Command | Original | Evil |
+ |------------------+----------+------|
+ | =forge-dispatch= | (none) | =@= |
+
+*** magit-commit-section-map / magit-remote-section-map / magit-branch-section-map
+
+ | Command | Original | Evil |
+ |---------------------------------------------------------+----------+---------------------------------|
+ | =forge-browse-dwim= / =forge-browse-remote= / =-branch= | n/a | (remap of =magit-browse-thing=) |
+ | =forge-visit-topic= | n/a | =C-c C-v= (commit / branch) |
+
+** Transient extensions
+
+ The following are appended to magit transients:
+
+ | Transient | Suffix |
+ |---------------------+-------------------------------------------|
+ | =magit-dispatch= | =@= Forge |
+ | =magit-fetch= | =n= forge topics, =N= forge notifications |
+ | =magit-pull= | =n= forge topics, =N= forge notifications |
+ | =magit-branch= | =f= pull-request, =F= from pull-request |
+ | =magit-worktree= | =n= pull-request worktree |
+ | =magit-status-jump= | =Np= pull-requests, =Ni= issues |
+ | =magit-merge= | =M= Merge using API |
+
+** Customization
+
+ | Variable | Default | Purpose |
+ |----------------------------------------+----------------------+---------------------------------------------------|
+ | =evil-collection-forge-use-y-for-yank= | =t= | Keep =y= as yank; also adds visual state. |
+ | =evil-collection-forge-state= | =normal= or =motion= | Evil state used for forge bindings on magit maps. |