emacs设置备份
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
(setq column-number-mode t) (setq line-number-mode t) (require 'linum) (global-linum-mode t) (global-set-key (kbd "<f9>") 'compile) (global-set-key (kbd "C-c s") 'shell) (setq compile-command "g++ -g ") (add-hook 'c++-mode-hook '(lambda () (c-set-style "awk"))) (setq c-basic-offset 4) (set-frame-width (selected-frame) 120) (set-frame-height (selected-frame) 60) (setq default-tab-width 4) (setq-default indent-tabs-mode nil) (set-default-font "FreeMono-12") (add-to-list 'default-frame-alist '(font . "FreeMono-17")) ;;tex (setenv "PATH" (concat "/usr/texbin:/usr/local/bin:" (getenv "PATH"))) (setq exec-path (append '("/usr/texbin" "/usr/local/bin") exec-path)) (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) |
。。。。以及如果比赛用的话必要的几个设置
emacs爷!!