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")))
原文地址:https://www.cnblogs.com/ziyouchutuwenwu/p/3486254.html