我的emacs配置GitHub
EMACS UI CONFIGURATION
说明
将以下的UI设置代码:
1. 直接添加到init.el文件中
2. 如果是用了模块配置,新建.el文件,并在末位添加provide语句,在init.el中添加require语句
provide语句
(provide 'init-ui)
require 语句(添加到init.el)
(require 'init-ui)
关闭tool bar
;;set tool bar nil
(tool-bar-mode -1)
关闭滚动条
;;set scroll bar nil
(scroll-bar-mode -1)
将光标更改为一条竖线
;;modify the cursor
(setq-default cursor-type 'bar)
关闭启动欢迎界面
;; cancel welcome page
(setq inhibit-splash-screen t)
启动全屏
;;open up with full screen
(setq initial-frame-alist (quote ((fullscreen . maximized))))
高亮当前行
;;highlight current line
(global-hl-line-mode t)