forked from FG42/FG42
github ability has been added
This commit is contained in:
parent
4294a84e91
commit
4d72c51bdd
|
@ -30,7 +30,9 @@
|
||||||
|
|
||||||
(with-ability git
|
(with-ability git
|
||||||
(depends-on 'diff-hl)
|
(depends-on 'diff-hl)
|
||||||
(depends-on 'magit)
|
(depends-on 'magit))
|
||||||
|
|
||||||
|
(with-ability github
|
||||||
(depends-on 'magithub))
|
(depends-on 'magithub))
|
||||||
|
|
||||||
(with-ability focus
|
(with-ability focus
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
(setq imenu-list-auto-resize t)
|
(setq imenu-list-auto-resize t)
|
||||||
(global-set-key (kbd "C-'") #'imenu-list-smart-toggle)
|
(global-set-key (kbd "C-'") #'imenu-list-smart-toggle)
|
||||||
(global-set-key (kbd "C-<f2>") #'imenu-anywhere))
|
(global-set-key (kbd "C-<f2>") #'imenu-anywhere))
|
||||||
(global-set-key (kbd "<f13>") #'imenu-anywhere)
|
(global-set-key (kbd "<f13>") #'imenu-anywhere)
|
||||||
|
|
||||||
|
|
||||||
(ability parinfer ()
|
(ability parinfer ()
|
||||||
|
@ -123,14 +123,17 @@
|
||||||
|
|
||||||
(ability git ()
|
(ability git ()
|
||||||
"A wonderful git interface for FG42"
|
"A wonderful git interface for FG42"
|
||||||
(require 'magithub)
|
|
||||||
(magithub-feature-autoinject t)
|
|
||||||
|
|
||||||
(cheatsheet-add :group '--Development--
|
(cheatsheet-add :group '--Development--
|
||||||
:key "C-x g"
|
:key "C-x g"
|
||||||
:description "Rise up MAGIT. Git interface for FG42")
|
:description "Rise up MAGIT. Git interface for FG42")
|
||||||
(global-set-key (kbd "C-x g") 'magit-status))
|
(global-set-key (kbd "C-x g") 'magit-status))
|
||||||
|
|
||||||
|
(ability github ()
|
||||||
|
"Github support"
|
||||||
|
(require 'magithub)
|
||||||
|
(magithub-feature-autoinject t))
|
||||||
|
|
||||||
;; (ability hl ()
|
;; (ability hl ()
|
||||||
;; "Highligh the current block of code. This ability may slows you down."
|
;; "Highligh the current block of code. This ability may slows you down."
|
||||||
;; (require 'hl-sexp)
|
;; (require 'hl-sexp)
|
||||||
|
|
Loading…
Reference in New Issue