Files
emacs.d/init.el

61 lines
2.6 KiB
EmacsLisp

;;; init.el --- user init file -*- no-byte-compile: t -*-
;;; Commentary:
;; this Emacs initilization file is inspired by
;; https://github.com/mwfogleman/.emacs.d/blob/master/michael.org
;;; Code:
;; When using auto-compile
;; take care, that the init packages are not influenced
(setq load-prefer-newer t)
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(require 'package)
(package-initialize)
(setq package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
;; from now on, we make use of use-package
;; this will make sure a package is downloaded, efficiently configured
;; (e.g. after load, or as needed), keys will be bind in a concise way, and more
;; reference: https://menno.io/posts/use-package/
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)
;; use my-site-start package
(autoload 'my-site-start "~/.emacs.d/my-site-start" nil t)
(my-site-start "~/.emacs.d/site-start.d/")
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(font-use-system-font t)
'(magit-commit-arguments
'("--signoff" "--gpg-sign=1EC4BE4FF2A6C9F4DDDF30F33C5F485DBD250D66"))
'(magit-log-arguments '("--graph" "--decorate" "--show-signature" "-n256"))
'(package-selected-packages
'(magit-imerge async async-await magit-libgit major-mode-hydra cargo cargo-mode markdown-preview-mode markdown-toc package-utils json-reformat json-mode tramp yaml-mode smartparens ace-link ace-window avy ivy-rich all-the-icons counsel rustic rainbow-delimiters lsp-origami origami qml-mode python-mode linum-relative company-capf lsp-ivy yasnippet pandoc-mode go-imports go-autocomplete go-mode flycheck lsp-ui forge pcmpl-git git-link git-timemachine magit use-package))
'(paradox-github-token t)
'(php-mode-coding-style 'wordpress)
'(safe-local-variable-values '((cmake-ide-dir . "build")))
'(show-paren-mode t)
'(tramp-verbose 6)
'(visible-bell t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)