(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. '(inhibit-startup-screen t)) (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. ) ;;我的emacs lisp包的路径 (add-to-list 'load-path (expand-file-name "~/.emacs.d")) ;;使用主题 (require 'color-theme) (color-theme-initialize) (color-theme-tty-dark) ;;显示行号 (require 'linum) (global-linum-mode t) ;;显示列号 (column-number-mode t) ;;隐藏工具栏,滚动条,菜单栏 (tool-bar-mode nil) (scroll-bar-mode nil) (menu-bar-mode nil) ;;鼠标不闪动 (blink-cursor-mode nil) ;;设置指针颜色 (set-cursor-color "white") ;;定制快捷键 ;;设置f10为显示菜单栏 (global-set-key [f10] 'menu-bar-mode) ;;跳到指定行 (define-key ctl-x-map "l" 'goto-line) ;;y/n替代yes/no (fset 'yes-or-no-p 'y-or-n-p) ;;不产生备份文件 (setq make-backup-files nil) ;;支持外部程序粘贴 (setq x-select-enable-clipboard t) ;;显示时间 (display-time)