123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- ;; -*- lexical-binding: t; -*-
- ;;; Commentary:
- ;; This file bootstraps the configuration, which is divided into
- ;;; a number of other files.
- ;; 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.
- (add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
- ;;(require 'init-benchmarking) ;; Measure startup time
- ;;----------------------------------------------------------------------------
- ;; Bootstrap config
- ;;----------------------------------------------------------------------------
- (require 'init-utils)
- ;;(require 'init-elpa) ;; Machinery for installing required packages
- ;;----------------------------------------------------------------------------
- ;; Allow users to provide an optional "init-preload-local.el"
- ;;----------------------------------------------------------------------------
- ;;(require 'init-preload-local nil t)
- ;;----------------------------------------------------------------------------
- ;; Load configs for specific features and modes
- ;;----------------------------------------------------------------------------
- ;; (require-package 'use-package)
- ;; diminish hides packages from being on the modeline. You can use use-package to do this
- ;; (use-package diminish :ensure t)
- ;; to use :bind with use-package, require bind-key
- (require 'bind-key)
- (require 'use-package)
- ;;(use-package bind-key :ensure t)
- ;; make use-package tell me which packages take longer than 0.1s to load
- (setq use-package-verbose t)
- ;; let's get modal keybinding working!
- ;; And let's load it in quickly, so I can always use evil-mode
- ;; even when my config is broken.
- ;;(require 'org)
- (org-babel-load-file "~/.config/emacs/lisp/init-evil.org")
- ;; Make my evil keybindings work pretty much everywhere
- (require 'init-evil-rebellion-clone)
- ;;(require 'init-pdf-tools)
- ;; make opening specific types of files,
- ;; autoinsert a yasnippet
- (org-babel-load-file "~/.config/emacs/lisp/init-autoinsert.org")
- ;; check internet connection
- (org-babel-load-file "~/.config/emacs/lisp/init-check-network-connection.org")
- ;;load is many packages
- (org-babel-load-file "~/.config/emacs/lisp/init-load-small-packages.org")
- ;; emacs can read email
- ;; this file only gets loaded when I do a good old M-x Gnus
- ;;(org-babel-load-file "~/.config/emacs/lisp/init-gnus.org")
- ;; some graphical configurations
- (org-babel-load-file "~/.config/emacs/lisp/init-gui-frames.org")
- ;; my org configuration
- (org-babel-load-file "~/.config/emacs/lisp/init-org.org")
- (org-babel-load-file "~/.config/emacs/lisp/init-lisp.org")
- ;;(org-babel-load-file "~/.config/emacs/lisp/init-javascript.org")
- (org-babel-load-file "~/.config/emacs/lisp/init-editing-utils.org")
- ;;an irc client for Emacs
- (org-babel-load-file "~/.config/emacs/lisp/init-erc.org")
- ;; load my web-mode configurations
- (org-babel-load-file "~/.config/emacs/lisp/init-html.org")
- ;; some specific defuns that I have written
- (org-babel-load-file "~/.config/emacs/lisp/init-defuns.org")
- ;;(org-babel-load-file "~/.config/emacs/lisp/init-honorscollege.org")
- (org-babel-load-file "~/.config/emacs/lisp/init-misc.org")
- ;;(org-babel-load-file "~/.config/emacs/lisp/init-flycheck.org")
- ;;----------------------------------------------------------------------------
- ;; Variables configured via the interactive 'customize' interface
- ;;----------------------------------------------------------------------------
- (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
- (when (file-exists-p custom-file)
- (load custom-file))
- ;; ert is the emacs lisp regression test. It lets you test that your lisp files
- ;; pass defined tests
- ;;----------------------------------------------------------------------------
- ;; Locales (setting them earlier in this file doesn't work in X)
- ;;----------------------------------------------------------------------------
- (provide 'init)
- ;; Local Variables:
- ;; coding: utf-8
- ;; no-byte-compile: t
- ;; End:
- ;;; init.el ends here
- ;;(put 'scroll-left 'disabled nil)
- ;;(put 'set-goal-column 'disabled nil)
- (put 'narrow-to-page 'disabled nil)
|