Add Windows-specific settings to oni-magit
This commit is contained in:
parent
c4a48a3548
commit
997fa266b9
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue