• My Emacs


    ;; 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)
    
    (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.
     '(ansi-color-faces-vector
       [default default default italic underline success warning error])
     '(ansi-color-names-vector
       ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
     '(custom-enabled-themes (quote (tsdh-dark)))
     '(package-selected-packages (quote (auto-complete company yasnippet))))
    (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.
     )
    (global-linum-mode t) ;;line num 显示行号
    (setq-default indent-tabs-mode nil)  ;;将tab转变为空格
    (setq c-basic-offset 4)
    (setq default-tab-width 4) ;;tab width 设置缩进以及tab键
    (electric-pair-mode t)
    (electric-layout-mode t)
    (electric-indent-mode t)
    ;;electric pair 括号补全
    (show-paren-mode t) ;;show paren 括号配对
    (global-hl-line-mode t) ;;high light line 高亮当前行
    (setq-default cursor-type 'bar);;改变光标
    ;;-*-Baskerville-normal-normal-normal-*-20-*-*-*-p-0-iso10646-1
    (set-default-font "-*-Courier New-normal-normal-normal-*-25-*-*-*-m-0-iso10646-1")
    ;;考试copy到这里
    (add-to-list 'load-path
                  "~/.emacs.d/plugins/yasnippet")
    (require 'yasnippet)
    (yas-global-mode 1)
    
    (require 'package)
    (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
    (when (< emacs-major-version 24)
      (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
    (package-initialize)
    
    (add-to-list 'load-path "~/.emacs.d/elpa/auto-complete-20170125.245")
    (require 'auto-complete-config)
    (add-to-list 'ac-dictionary-directories "~/.emacs.d/elpa/auto-complete-20170125.245/dict")
    (ac-config-default)
    
    ;;this kill the last program
    (setq make-backup-files nil)
    
    

    叛党了,现在是vim党

  • 相关阅读:
    MySQL行级锁、表级锁、页级锁详细介绍
    Spring REST是什么?(转)
    Spring REST(转)
    联系人项目
    三级联动(有刷新)
    Java中点击按钮返回上一页
    Java中隐藏显示效果
    理解RESTful架构(转)
    什么是REST?以及RESTful的实现(转)
    JSTL 核心标签库 使用(转)
  • 原文地址:https://www.cnblogs.com/Atoner/p/14111379.html
Copyright © 2020-2023  润新知