summaryrefslogtreecommitdiff
path: root/.emacs.d/#init.el#
diff options
context:
space:
mode:
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