emacs.d: initial config version
- starting init.el just basics (package, use-package, path-handlin) - include my-site-start.el that includes site-start.d directory and imports all *.el files in lexical order - functionality is imported via use-package inside the *.el file (first run: internet connection is needed to MELPA)
This commit is contained in:
59
init.el
Normal file
59
init.el
Normal file
@@ -0,0 +1,59 @@
|
||||
;;; 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
|
||||
(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
|
||||
(quote
|
||||
("--signoff" "--gpg-sign=1EC4BE4FF2A6C9F4DDDF30F33C5F485DBD250D66")))
|
||||
'(magit-log-arguments (quote ("--graph" "--decorate" "--show-signature" "-n256")))
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(flycheck lsp-ui rustic forge pcmpl-git git-link git-timemachine magit use-package)))
|
||||
'(paradox-github-token t)
|
||||
'(php-mode-coding-style (quote wordpress))
|
||||
'(show-paren-mode t)
|
||||
'(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.
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user