theurgy/userland/git-interace.el

40 lines
1.2 KiB
EmacsLisp

;;; git-interface.el --- Magit config -*- lexical-binding: t -*-
;; This file is not part of GNU Emacs
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; commentary
;;; Code:
(use-package magit)
(use-package magit-todos
:after (magit)
:config (magit-todos-mode 1))
(add-to-list 'display-buffer-alist
`("magit:"
(display-buffer-in-side-window)
(side . ,(if (equal system-type 'android) 'top 'right))
(slot . ,(if (equal system-type 'android) 0 4))
(window-width . 0.2)))
(provide 'git-interface)
;;; git-interface.el ends here