diff options
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el new file mode 100644 index 0000000..6a9e142 --- /dev/null +++ b/emacs/init.el @@ -0,0 +1,41 @@ +;; Initialize the package system first of all. +(require 'package) + +(setq package-archives '(("melpa" . "https://melpa.org/packages/") + ("gnu" . "https://elpa.gnu.org/packages/"))) + +;; and now we load custom configurations +(add-to-list 'load-path (expand-file-name "custom" user-emacs-directory)) +(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory)) + +(require 'fcuny-vars) + +;; where to store the packages +(setq package-user-dir fcuny/path-emacs-elpa) + +;; initialize it +(setq package-enable-at-startup nil) +(package-initialize) + +;; if use-package is not present, we install it +(unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + +(require 'use-package) + +(require 'fcuny-commands) + +(require 'fcuny-settings) +(require 'fcuny-ui) +(require 'fcuny-defuns) +(require 'fcuny-navigation) +(require 'fcuny-edit) +(require 'fcuny-text) +(require 'fcuny-git) +(require 'fcuny-org) +(require 'fcuny-conf) +(require 'fcuny-flycheck) +(require 'fcuny-prog) +(require 'fcuny-eshell) +(require 'fcuny-twitter) |