1
0
Fork 0

Add Windows-specific settings to oni-magit

This commit is contained in:
Tom Willemse 2019-03-03 12:12:39 -08:00
parent c4a48a3548
commit 997fa266b9

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190222001016 ;; Version: 20190303121019
;; Package-Requires: (magit magit-popup magithub hydra) ;; Package-Requires: (magit magit-popup magithub hydra)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -52,6 +52,9 @@ Delete all other windows and then pass BUFFER and ALIST on to
'display-buffer-alist 'display-buffer-alist
`(,oni:magit-status-rx oni-magit-display-buffer-in-only-window)) `(,oni:magit-status-rx oni-magit-display-buffer-in-only-window))
(when (eq system-type 'windows-nt)
(setq magit-git-executable "c:/msys64/usr/bin/git.exe"))
;;;###autoload ;;;###autoload
(global-set-key (kbd "C-c v") 'oni-hydra-magit/body) (global-set-key (kbd "C-c v") 'oni-hydra-magit/body)