Move Forge binding to config/default/+evil-bindings

This commit is contained in:
Oleksii Filonenko 2019-01-11 15:00:24 +02:00
parent b796ad76cc
commit 5287c48092
No known key found for this signature in database
GPG key ID: F3510FE5691629A1
3 changed files with 3 additions and 8 deletions

View file

@ -624,7 +624,9 @@
:desc "Git stage file" "S" #'magit-stage-file
:desc "Git unstage file" "U" #'magit-unstage-file
: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)
:desc "List gists" "G" #'+gist:list))

View file

@ -1,4 +0,0 @@
;;; tools/magit/+evil-bindings.el -*- lexical-binding: t; -*-
(map! :leader
:desc "Forge" "gF" #'forge-dispatch)

View file

@ -105,6 +105,3 @@ what features are available.")
(def-package! forge
:when (featurep! :tools magit +forge)
:after magit)
(when (featurep! :feature evil)
(load! "+evil-bindings"))