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


(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开发环境

上一篇:springside出现Description Resource Path Location Type


下一篇:[Linux] Ubuntu 12.04 配置openjdk7的源码文件以及java里面HashMap的初始化