首页 > 编程语言 > 详细

ubuntu 12.04下使用Emacs 24搭建python开发环境

时间:2014-04-14 14:14:53      阅读:617      评论:0      收藏:0      [点我收藏+]

(For all new to Emacs:

    M-x : Press Alt and x 

    C-x : Press Ctrl and x )

(system information:

    ubuntu 12.04 LTS x64 + Emacs 24.3.1)


 

Table of Content:

1.Change color theme

2.YASnippet

3.auto-compelete

 


1. Change color theme:

      1.1 Editing the dotfile .emacs

1 emacs .emacs

      1.2 Adding below text into dotfile

1 (add-to-list ‘load-path "~/.emacs.d/")
2 (require ‘color-theme)
3 (color-theme-initialize)

      1.3 These 3 lines above are essential, the one below is for choosing your favourite color theme, take color-theme-matrix as an example.

1 (color-theme-matrix)

      1.4 The version 24 of Emacs has many built-in color themes, you could use command M-x color-theme-select to view all themes.


2. Yasnippet

      2.1 Git clone package into ~/.emacs.d/plugins/ directory

1 cd ~/.emacs.d/plugins/
2 git clone --recursive https://github.com/capitaomorte/yasnippet

      2.2 Editing the dotfile .emacs

1 (add-to-list load-path"~/.emacs.d/plugins/yasnippet")
3 (require yasnippet)
4 (yas-global-mode 1)

      2.3 Rebooting Emacs, if you see YASippet in your menu bar, congrats!

3. Auto-complete

 

 

 

ubuntu 12.04下使用Emacs 24搭建python开发环境,布布扣,bubuko.com

ubuntu 12.04下使用Emacs 24搭建python开发环境

原文:http://www.cnblogs.com/zuliu/p/3663197.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!