emacs之配置7,tabbar插件

emacsConfig/tabbar-setting.el

 1 (require 'tabbar)
 2 (tabbar-mode 1)
 3 
 4 (global-set-key (kbd "<M-up>")    'tabbar-backward-group)
 5 (global-set-key (kbd "<M-down>")  'tabbar-forward-group)
 6 
 7 ; close default tabs,and move all files into one group
 8 (setq tabbar-buffer-list-function
 9     (lambda ()
10         (remove-if
11           (lambda(buffer)
12              (find (aref (buffer-name buffer) 0) " *"))
13           (buffer-list))))
14 (setq tabbar-buffer-groups-function
15       (lambda()(list "All")))

 

posted @ 2013-12-22 18:50  自由出土文物  阅读(204)  评论(0编辑  收藏  举报