diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2019-09-14 18:09:53 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2020-04-12 17:07:25 -0500 |
commit | cb56e48805ae897d9fab5a269adbb817fdf42223 (patch) | |
tree | c73cb420d0d1cf73886a4ad4deb5a77a3bcfd8eb /emacs/.emacs | |
parent | ffef92f12b3b0273c0a652459573d64d3d586e6e (diff) |
emacs: major rewrite of config
Diffstat (limited to 'emacs/.emacs')
-rw-r--r-- | emacs/.emacs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/emacs/.emacs b/emacs/.emacs deleted file mode 100644 index 8769d6f..0000000 --- a/emacs/.emacs +++ /dev/null @@ -1,37 +0,0 @@ -(defconst user-init-dir - (cond ((boundp 'user-emacs-directory) user-emacs-directory) - ((boundp 'user-init-directory) user-init-directory) - (t "~/.emacs.d"))) - -(defun load-user-file (file) - "Load a file in current user's configuration directory" - (load (expand-file-name file user-init-dir) t nil t)) - -; These lines must come first, before `(package-initialize)` -(require 'package) -(add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t) - -(package-initialize) - -(load-user-file "org-mode.el") -(load-user-file "treemacs.el") -(load-user-file "colors.el") - -(setq-default c-default-style "linux" - c-basic-offset 4 - tab-width 4 - indent-tabs-mode t) - -(custom-set-variables - '(package-selected-packages - (quote - (treemacs - ample-theme - color-theme-sanityinc-tomorrow - material-theme - subatomic-theme - subatomic256-theme - )))) - -(custom-set-faces - '(default ((t (:family "Inconsolata" :foundry "PfEd" :slant normal :weight normal :height 140 :width normal))))) |