开发工具 Emacs Ruby 开发环境,怎么配置比较好?

lips · April 05, 2015 · Last by teddy replied at April 23, 2015 · 5486 hits

都用哪些插件呢?

我用 Emacs 做 Ruby 和 Python 开发,以下是我用到的插件,仅供参考:

  • ag - 搜索
  • auto-complete - 文字补全,目前有个 company,比较火,你可以试用。
  • expand-region - 快速选中
  • flycheck - 语法检查
  • ggtags - TAG 跳转
  • multiple-cursors - 多光标编辑
  • neotree - 文件树
  • yasnippet - snippets 补全
  • projectile & projectile-rails
  • smart-shift 左右移动文字
  • smartparens 括号匹配

这些只是我平常用的比较多的,还有很多增强类的插件,但主要和使用习惯有关。

#1 楼 @hbin 試過 vim 么?

company 可以加上 robe 试试,不过我觉得比较慢。 projectile

最近这份 emacs 配置挺火的 https://github.com/syl20bnr/spacemacs

#5 楼 @teddy 为何没有.emacs 配置文件?

#6 楼 @lips git clone --recursive http://github.com/syl20bnr/spacemacs ~/.emacs.d 这不就是 .emacs.d 吗,就是配置文件

#7 楼 @teddy 我好像只有.emacs 一个配置文件,.emacs.d 目录是安装插件的

#8 楼 @lips 对啊,这玩意本来就是一个大的插件,你照做就是了,启动 emacs 配置就生效了

You need to Sign in before reply, if you don't have an account, please Sign up first.