Emacs for Windows

下载地址:
http://ftp.gnu.org/gnu/emacs/windows

简单配置:

;;My Options
(setq inhibit-startup-message t)
(global-linum-mode t)
(column-number-mode t)
(setq scroll-margin 3
      scroll-conservatively 10000)
(setq default-major-mode 'text-mode)
(mouse-avoidance-mode 'animate)
(setq frame-title-format "emacs@%b")
(auto-image-file-mode)
(setq make-backup-files nil)
(setq delete-auto-save-files t)

(tool-bar-mode 0)
;(menu-bar-mode 0)
;(scroll-bar-mode 0)

(global-set-key (kbd "RET") 'newline-and-indent)

(setq c-default-style "stroustrup")
(setq c++-default-style "stroustrup")

(setq indent-tabs-mode nil)
(setq default-tab-width 4)
(setq tab-width 4)
(setq tab-stop-list ())
(setq tab-stop-list '(4 8 12 16 20 24 28 32 36 40
                    44 48 52 56 60 64 68 72 76 80 84 88 92 96))

(display-time-mode 1)                
(setq display-time-24hr-format t)
(setq display-time-day-and-date t)

Emacs-GTK

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*