emacs配置elpy
2016-11-08 20:13
525 查看
1.主要把插件jedi装上 2.在你的Home目录下,创建一个.emacs文件,并写入如下内容: (require 'package) (add-to-list 'package-archives '("elpy" . "https://jorgenschaefer.github.io/packages/")) 打开emacs运行 M-x package-refresh-contents加载新的库,然后运行M-x package-install RET elpy RET(RET即回车键)安装elpy 3.最后,把下边的内容添加到.emacs文件中 (package-initialize) (elpy-enable) (setq-default cursor-type 'bar) (global-linum-mode t) (column-number-mode t) 完成。
参考
1、文件
2、文件
First, install the required Python packages:: # Either of these pip install rope pip install jedi # flake8 for code checks pip install flake8 # importmagic for automatic imports pip install importmagic # and autopep8 for automatic PEP8 formatting pip install autopep8 # and yapf for code formatting pip install yapf One-line install: pip install jedi flake8 importmagic autopep8 Evaluate this in your *scratch* buffer: (require 'package) (add-to-list 'package-archives '("elpy" . "https://jorgenschaefer.github.io/packages/")) Then run M-x package-refresh-contents to load the contents of the new repository, and M-x package-install RET elpy RET to install elpy. Finally, add the following to your .emacs: (package-initialize) (elpy-enable) Done.
C+c,C+c直接运行代码。
相关文章推荐
- Emacs之Python编程环境配置 - elpy
- 一个 .emacs 配置文件的例子
- 我的emacs配置文件
- emacs知识以及相关配置
- emacs配置文件的基础知识
- windows下Emacs的安装与配置
- emacs的主题配置
- emacs配置大全(cedet+ecb+cscope+gdb-ui)-jzj
- 我的emacs配置
- 我的emacs配置
- emacs的配置文件
- emacs java 编辑环境配置
- 我的 Emacs 配置文件
- 我的emacs配置.emacs
- emacs配置文件
- Emacs笔记——配置篇(不断更新中)
- Emacs 配置文件
- Emacs 配置
- emacs安装,支持中文,配置等
- 如何在windows下配置emacs