Normal emacs config
This commit is contained in:
parent
fac02d775f
commit
77b7a1d5c4
2 changed files with 1087 additions and 0 deletions
1072
files/.config/emacs/config.el
Normal file
1072
files/.config/emacs/config.el
Normal file
File diff suppressed because it is too large
Load diff
15
files/.config/emacs/init.el
Normal file
15
files/.config/emacs/init.el
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
;;; -*- lexical-binding: t; -*-
|
||||
(setq custom-file "~/.config/emacs/custom.el")
|
||||
(when (file-exists-p custom-file)
|
||||
(load custom-file))
|
||||
(setq package-user-dir "~/.cache/emacs/elpa")
|
||||
(make-directory package-user-dir t)
|
||||
(require 'package)
|
||||
;;https://github.com/wbolster/emacs-direnv/issues/85
|
||||
(setenv "PATH" (mapconcat 'identity exec-path ":")) ;;fixes direnv losing nix pkgs
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
(package-refresh-contents)
|
||||
(add-to-list 'load-path (getenv "EMACSLOADPATH"))
|
||||
|
||||
(load "~/.config/emacs/config.el")
|
||||
Loading…
Add table
Add a link
Reference in a new issue