aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/arch/.emacs
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2017-12-02 08:44:27 +0800
committerSteve Lee <me@xiangyangli.com>2017-12-02 08:44:27 +0800
commit445b6aa9f7e4f5052783bbfa1d268d2bf8375115 (patch)
tree89e58b9fcb95d4fc1a6041440c98fed9f0789c4f /dotfiles/arch/.emacs
parent7e5e9e245d58aac84e0e5267596d2024330c967b (diff)
download42-445b6aa9f7e4f5052783bbfa1d268d2bf8375115.tar.xz
42-445b6aa9f7e4f5052783bbfa1d268d2bf8375115.zip
delete dotfiles
Diffstat (limited to 'dotfiles/arch/.emacs')
-rw-r--r--dotfiles/arch/.emacs83
1 files changed, 0 insertions, 83 deletions
diff --git a/dotfiles/arch/.emacs b/dotfiles/arch/.emacs
deleted file mode 100644
index 37c482d..0000000
--- a/dotfiles/arch/.emacs
+++ /dev/null
@@ -1,83 +0,0 @@
-;; Base config
-(menu-bar-mode -1)
-(tool-bar-mode -1)
-(scroll-bar-mode -1)
-(blink-cursor-mode -1)
-;; Line number
-(setq global-linum-mode t)
-;; 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")
-
-;; Package
-(require 'package)
-(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
-(package-initialize)
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-safe-themes
- (quote
- ("4486ade2acbf630e78658cd6235a5c6801090c2694469a2a2b4b0e12227a64b9" "66881e95c0eda61d34aa7f08ebacf03319d37fe202d68ecf6a1dbfd49d664bc3" default)))
- '(inhibit-startup-screen t)
- '(package-selected-packages (quote (oceanic-theme forest-blue-theme org ## evil))))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
-
-;; Theme
-(load-theme 'oceanic t)
-
-;; Evil mode
-(require 'evil)
-(evil-mode 1)
-
-;; org-mode pdf outpuf
-(setq org-latex-classes
- '(("article"
- "
- \\documentclass[11pt]{article}
- \\usepackage{xeCJK}
- \\usepackage{indentfirst}
- \\usepackage{amsmath}
- \\setlength{\\parindent}{2em}
- \\setCJKmainfont{SimSun}
- \\numberwithin{equation}{section}
- \\newtheorem{Theorem}{定理}[section]
- \\newtheorem{Definition}[Theorem]{定义}
- \\newtheorem{Lemma}[Theorem]{引理}
- \\newtheorem{Corollary}[Theorem]{推论}
- \\topmargin=-0.45in
- \\evensidemargin=0in
- \\oddsidemargin=0in
- \\textwidth=6.5in
- \\textheight=9.0in
- \\headsep=0.25in
-
- \\linespread{1.1}
- "
- ("\\section{%s}" . "\\section*{%s}")
- ("\\subsection{%s}" . "\\subsection*{%s}")
- ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
- ("\\paragraph{%s}" . "\\paragraph*{%s}")
- ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
- ))
-;; Use XeLaTex
-(setq org-latex-pdf-process
- '("xelatex -interaction nonstopmode -output-directory %o %f"
- "xelatex -interaction nonstopmode -output-directory %o %f"
- "xelatex -interaction nonstopmode -output-directory %o %f"))