Add github-browse-file

This commit is contained in:
Henrik Lissner 2015-10-26 01:35:19 -04:00
parent 745256eabd
commit a8c7336a2a
2 changed files with 8 additions and 0 deletions

View file

@ -13,5 +13,12 @@
:init (setq diff-hl-draw-borders nil)
:config (global-diff-hl-mode +1))
(use-package github-browse-file
:commands (narf:github-browse-file github-browse-file github-browse-file-blame)
:config
(evil-define-command narf:github-browse-file (&optional bang)
(interactive "<!>")
(if bang (github-browse-file-blame) (github-browse-file))))
(provide 'core-vcs)
;;; core-vcs.el ends here