From 4d72c51bdd407e3bce318579c9394789013d88f7 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 4 Oct 2018 15:52:41 +0100 Subject: [PATCH] github ability has been added --- lib/extensions/development.el | 4 +++- lib/extensions/development/init.el | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/extensions/development.el b/lib/extensions/development.el index 5e8c156..a593ac0 100644 --- a/lib/extensions/development.el +++ b/lib/extensions/development.el @@ -30,7 +30,9 @@ (with-ability git (depends-on 'diff-hl) - (depends-on 'magit) + (depends-on 'magit)) + +(with-ability github (depends-on 'magithub)) (with-ability focus diff --git a/lib/extensions/development/init.el b/lib/extensions/development/init.el index 48c34a0..4e2c898 100644 --- a/lib/extensions/development/init.el +++ b/lib/extensions/development/init.el @@ -91,7 +91,7 @@ (setq imenu-list-auto-resize t) (global-set-key (kbd "C-'") #'imenu-list-smart-toggle) (global-set-key (kbd "C-") #'imenu-anywhere)) - (global-set-key (kbd "") #'imenu-anywhere) + (global-set-key (kbd "") #'imenu-anywhere) (ability parinfer () @@ -123,14 +123,17 @@ (ability git () "A wonderful git interface for FG42" - (require 'magithub) - (magithub-feature-autoinject t) (cheatsheet-add :group '--Development-- :key "C-x g" :description "Rise up MAGIT. Git interface for FG42") (global-set-key (kbd "C-x g") 'magit-status)) + (ability github () + "Github support" + (require 'magithub) + (magithub-feature-autoinject t)) + ;; (ability hl () ;; "Highligh the current block of code. This ability may slows you down." ;; (require 'hl-sexp)