Emacs搭建Python开发环境

1. 安装pyflacks以进行自动语法检查:
  
    $ sudo easy_install pyflakes
   


2. 安装YASnippet
   2.1 下载yasnippet-0.6.1c.tar.bz2
   2.2 解压缩到插件目录
   2.3 修改~/.emacs
  
   ;;yasnippet config
   (add-to-list 'load-path "~/.emacs.d/yasnippet-0.6.1c")
   (require 'yasnippet) ;; not yasnippet-bundle
   (yas/initialize)
   


3. tabbar.el配置
;;tabbar.el
(require 'tabbar)
(tabbar-mode)    
(global-set-key (kbd "") 'tabbar-backward-group)
(global-set-key (kbd "") 'tabbar-forward-group) 
(global-set-key (kbd "C-`") 'tabbar-backward)   ;;后一个buffer
(global-set-key (kbd "C-<tab>") 'tabbar-forward) ;;前一个buffer

你可能感兴趣的:(python,emacs)