码迷,mamicode.com
首页 > 系统相关 > 详细

Emacs 构建 Tabbar

时间:2015-01-25 22:36:28      阅读:296      评论:0      收藏:0      [点我收藏+]

标签:


;;;;;;;;;;;;;;;;;;;;; tabbar ;;;;;;;;;;;;;;;;;;;;;;;;;;
(require ‘tabbar)
(tabbar-mode 1)
(global-set-key [(meta j)] ‘tabbar-forward)
(global-set-key [(meta k)] ‘tabbar-backward)

(set-face-attribute ‘tabbar-default nil
                    :background "gray"
                    :foreground "gray")
(set-face-attribute ‘tabbar-selected nil
                    :inherit ‘tabbar-default
                    :background "lightblue"
                    :box ‘(:line-width 1 :color "lightblack") )
(set-face-attribute ‘tabbar-unselected nil
                    :inherit ‘tabbar-default
                    :box ‘(:line-width 1 :color "gray"))

(custom-set-variables ‘(tabbar-separator (quote (1.5))))


效果:

技术分享

Emacs 构建 Tabbar

标签:

原文地址:http://blog.csdn.net/pandora_madara/article/details/43120977

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!