move emacs files to XDG_CONFIG_HOME

This commit is contained in:
nya 2021-04-23 12:15:19 -05:00
parent f08b0dd538
commit ab8cdcd039
3 changed files with 42 additions and 8 deletions

35
.config/.emacs Normal file
View file

@ -0,0 +1,35 @@
(require 'sudo-edit)
(require 'xterm-color)
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives
'("org" . "https://orgmode.org/elpa/") t)
(package-initialize)
(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.
'(custom-enabled-themes '(nyan))
'(custom-file "~/.config/.emacs")
'(custom-safe-themes
'("f3d88904f7c4a25cd6d0fad6cf1f5da9045a83a056f97540127fc7f8c26f8caf" default))
'(custom-theme-directory "~/.emacs.d/themes")
'(fringe-mode 0 nil (fringe))
'(gnus-init-file "~/config/.gnus.el")
'(initial-scratch-message nil)
'(package-selected-packages '(mingus sudo-edit xterm-color vterm org multi-vterm))
'(scroll-bar-mode 'left)
'(tab-bar-mode t)
'(use-file-dialog nil))
(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.
'(default ((t (:family "lucy tewi" :foundry "lucy" :slant normal :weight normal :height 83 :width normal))))
'(fringe ((t nil)))
'(tab-bar ((t (:inherit variable-pitch :background "grey85" :foreground "black" :height 1.15 :foundry "lucy" :family "lucy tewi"))))
'(tab-bar-tab ((t (:inherit tab-bar :box (:line-width 1 :style released-button)))))
'(tab-bar-tab-inactive ((t (:inherit tab-bar-tab :background "grey75")))))

View file

@ -1,5 +1,3 @@
(require 'sudo-edit)
(require 'xterm-color)
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
@ -10,12 +8,13 @@
'(custom-enabled-themes '(nyan))
'(custom-safe-themes
'("f3d88904f7c4a25cd6d0fad6cf1f5da9045a83a056f97540127fc7f8c26f8caf" default))
'(custom-theme-directory "~/.emacs.d/themes")
'(fringe-mode 0 nil (fringe))
'(initial-scratch-message nil)
'(package-selected-packages '(sudo-edit xterm-color vterm org multi-vterm))
'(scroll-bar-mode 'left)
'(custom-theme-directory "~/.config/emacs/themes")
'(package-selected-packages '(ampc multi-vterm sudo-edit vterm org))
'(tab-bar-mode t)
'(tab-bar-show t)
'(use-file-dialog nil))
(custom-set-faces
'(default ((t (:family "lucy tewi" :foundry "lucy" :slant normal :weight normal :height 83 :width normal))))
'(fringe ((t nil))))
'(fringe ((t nil)))
'(tab-bar-tab ((t (:inherit tab-bar :box (:line-width 1 :style released-button)))))
'(tab-bar-tab-inactive ((t (:inherit tab-bar-tab :background "grey75")))))