Move Forge binding to config/default/+evil-bindings
This commit is contained in:
parent
b796ad76cc
commit
5287c48092
3 changed files with 3 additions and 8 deletions
|
@ -624,7 +624,9 @@
|
||||||
:desc "Git stage file" "S" #'magit-stage-file
|
:desc "Git stage file" "S" #'magit-stage-file
|
||||||
:desc "Git unstage file" "U" #'magit-unstage-file
|
:desc "Git unstage file" "U" #'magit-unstage-file
|
||||||
:desc "Magit push popup" "p" #'magit-push-popup
|
:desc "Magit push popup" "p" #'magit-push-popup
|
||||||
:desc "Magit pull popup" "P" #'magit-pull-popup)
|
:desc "Magit pull popup" "P" #'magit-pull-popup
|
||||||
|
(:when (featurep! :tools magit +forge)
|
||||||
|
:desc "Forge dispatch" "F" #'forge-dispatch))
|
||||||
(:when (featurep! :tools gist)
|
(:when (featurep! :tools gist)
|
||||||
:desc "List gists" "G" #'+gist:list))
|
:desc "List gists" "G" #'+gist:list))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
;;; tools/magit/+evil-bindings.el -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
(map! :leader
|
|
||||||
:desc "Forge" "gF" #'forge-dispatch)
|
|
|
@ -105,6 +105,3 @@ what features are available.")
|
||||||
(def-package! forge
|
(def-package! forge
|
||||||
:when (featurep! :tools magit +forge)
|
:when (featurep! :tools magit +forge)
|
||||||
:after magit)
|
:after magit)
|
||||||
|
|
||||||
(when (featurep! :feature evil)
|
|
||||||
(load! "+evil-bindings"))
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue