;;win7下.emacs在C:\Users\用户名\AppData\Roaming目录下

在.emacs文件中添加

;; cancel welcome page取消欢迎界面
(setq inhibit-splash-screen t)

;;open up with full screen设置 全屏
(setq initial-frame-alist (quote ((fullscreen . maximized))))

;;set scroll bar nil关闭流动条
(scroll-bar-mode -1)

;;set tool bar nil关闭工具栏
(tool-bar-mode -1)

;;modify the cursor光标改为竖线
(setq-default cursor-type 'bar)

;;highlight current line高亮当前行
(global-hl-line-mode t)

04-01 15:21