diff options
| author | Steve Lee <me@xiangyangli.com> | 2018-04-27 20:21:29 +0800 |
|---|---|---|
| committer | Steve Lee <me@xiangyangli.com> | 2018-04-27 20:21:29 +0800 |
| commit | 3dca1e570b25ad6133b6724073fd1549763260c6 (patch) | |
| tree | 4d876f13f33e5d5547929c75e523adf99e5c9ec2 /.emacs.d/#init.el# | |
| parent | f0f8a8dea249d36eb42aaeda714456829f059f46 (diff) | |
| download | dotfiles-3dca1e570b25ad6133b6724073fd1549763260c6.tar.xz dotfiles-3dca1e570b25ad6133b6724073fd1549763260c6.zip | |
update emacs.d
Diffstat (limited to '.emacs.d/#init.el#')
| -rw-r--r-- | .emacs.d/#init.el# | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/.emacs.d/#init.el# b/.emacs.d/#init.el# new file mode 100644 index 0000000..3c9fcf7 --- /dev/null +++ b/.emacs.d/#init.el# @@ -0,0 +1,69 @@ +;;; package --- My .emacs.d init. 2017.12.12 +;;; Commentary: +;; -*- coding: utf-8 -*- + +;;; Code: + +;; Base config + +;; 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. +;; (package-initialize) + +(set debug-on-error t) + +;; Path +(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory)) + +(menu-bar-mode -1) +(tool-bar-mode -1) +(scroll-bar-mode -1) +(blink-cursor-mode -1) + + +;; Line number +;; (global-linum-mode 1) +;; Highlight current line +(when window-system + (global-hl-line-mode)) +;; Disable visual bell +(setq ring-bell-function 'ignore) +;; Transparent +;;(set-frame-parameter (selected-frame) 'alpha '(85 . 50)) +;;(add-to-list 'default-frame-alist '(alpha . (85 . 50))) + +;; Personal information +(setq user-full-name "李向阳 141160029" + user-mail-address "me@xiangyangli.com") + +;; Bootstrap +(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) +(require 'init-elpa) + +(setq emacs-load-start-time (current-time)) + +;; Theme +(load-theme 'misterioso t) +;; Make highlight color differ from the highlight line +(set-face-attribute 'region nil :background "#213") + +(let ((file-name-handler-alist nil)) + (require 'init-evil) + (require 'init-org) + (require 'init-program-basic) + (require 'init-company) + (require 'init-flycheck) + (require 'init-expand-region) + (require 'init-helm) + (require 'init-window-numbering)) + +;;---------------------------------------------------------------------------- +;; Variables configured via the interactive 'customize' interface +;;---------------------------------------------------------------------------- +(when (file-exists-p custom-file) + (load custom-file)) + +(provide 'init) +;;; init.el ends here |
