2011-12-18 05:27:01 +08:00
_ _ _
| | | | | |
| |___| |_____ __ | | ____
|_____ (____ |/ _ |/ ___)
_____ | / ___ ( (_| | |
(_______\_____|\____|_|
2011-11-18 05:45:33 +08:00
2013-03-29 23:32:02 +08:00
# Yet Another Dotfile Repo v1.1
# Now with Prezto and Vundle!
2011-12-16 19:33:25 +08:00
2017-03-08 17:23:32 +08:00
[![加入聊天https://gitter.im/hophacker/dotfiles ](https://badges.gitter.im/Join%20Chat.svg )](https://gitter.im/hophacker/dotfiles?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2015-02-17 04:57:18 +08:00
2017-03-08 15:50:42 +08:00
#### sh -c "\`curl -fsSL https://raw.githubusercontent.com/hophacker/dotfiles/master/install.sh \`"
2011-12-18 05:27:01 +08:00
2013-03-29 23:32:02 +08:00
**Always be sure to run `rake update` after pulling to ensure plugins are updated**
2017-03-08 17:23:32 +08:00
## 什么是YADR?
2011-12-18 06:40:58 +08:00
2017-03-08 17:23:32 +08:00
**YADR 是一个具有偏向性的dotfile源, 它会让开心到心里在唱歌**
2011-12-18 06:40:58 +08:00
2017-03-08 17:23:32 +08:00
* 吸收了所有最好的dotfile源的精华, vim和zsh的插件被紧密连贯地粘合在一起。
* 超过90种vim插件被放在一起为您服务, 每个插件都经过研究并被配置到最佳状态, 且常常拥有最合理的快捷键 。
* 许多zsh插件完美地基于Prezto, 且在此之上叠加了一些优质特性。
* 一切的一切都被vim化: irb, postgres命令行等等.
2011-12-07 13:57:45 +08:00
2017-03-08 17:23:32 +08:00
## 邮件列表
2013-12-16 06:09:36 +08:00
2017-03-08 17:23:32 +08:00
如果你有问题或者疑问又想听听我们的建议,请加入[Google Group](https://groups.google.com/forum/#!forum/yadr-users)
2013-12-16 06:09:36 +08:00
2017-03-08 17:23:32 +08:00
如果是PR或者bug汇报, 请一定使用Github。
2013-12-16 06:09:36 +08:00
2017-03-08 17:23:32 +08:00
## 截图
2013-12-16 04:11:22 +08:00
2012-11-17 02:07:52 +08:00
![screenshot ](http://i.imgur.com/3C1Ze.png )
2011-12-20 18:19:42 +08:00
2017-03-08 17:23:32 +08:00
## 安装
2012-01-25 02:53:58 +08:00
2017-03-08 17:23:32 +08:00
开始先运行:
2012-01-25 03:53:44 +08:00
```bash
2017-03-08 15:50:42 +08:00
sh -c "`curl -fsSL https://raw.githubusercontent.com/hophacker/dotfiles/master/install.sh`"
2012-01-25 03:53:44 +08:00
```
2017-03-08 17:23:32 +08:00
**注意:** YADR会自动安装它的所有子模块。如果你需要在安装每个模块前确认一下, 使用:
2014-02-16 11:21:08 +08:00
2013-04-07 18:17:48 +08:00
```bash
2017-03-08 15:50:42 +08:00
sh -c "`curl -fsSL https://raw.githubusercontent.com/hophacker/dotfiles/master/install.sh`" -s ask
2013-04-07 18:17:48 +08:00
```
2012-01-25 03:53:44 +08:00
2017-03-08 17:23:32 +08:00
## 等等,还没完。这一步不能少:
2014-02-16 11:21:08 +08:00
2017-03-08 17:23:32 +08:00
#### 安装 iTerm Solarized Colors
YADR 会往iTerm里安装Solarized配色方案。进入Profiles => Colors => Load Presets, 可以选择Solarized Dark。
2015-01-05 04:03:58 +08:00
2017-03-08 17:23:32 +08:00
#### 用[Seil](https://pqrs.org/osx/karabiner/seil.html.en)来交换caps-lock和escape的位置。
escape键是vim里最常用的键。老式键盘曾拥有Tab一样大的键, Apple键盘最差的地方就是拥有极小的Esc键。但是,
通过交换Esc键和Caps键的位置可以修复这些问题。如果总是不停地敲击角落上的小目标, 你肯定会大幅降低自己的效率, 说不定还会让你的手因屡次肌肉用力产生小的创伤。
2015-01-05 04:03:58 +08:00
2017-03-08 17:23:32 +08:00
#### 为iTerm设置一个系统级别的热键 (Keys=>Hotkey)
推荐Cmd-Escape, 实际上就是Cmd-Capslock(因为键的位置互换了)。
2015-01-05 04:03:58 +08:00
2017-03-08 17:23:32 +08:00
#### 在iTerm的General里, 取选 "Use Lion-style full screen"
这可以给你一个可以切换却无需通过切换空间的大屏。
2015-01-05 04:03:58 +08:00
2017-03-08 17:23:32 +08:00
#### 在MacVim的Advanced Settings里, 取消Prefer native fullscreen
和iTerm一样。Lion风格的空间切换会毫无理由地让一切效率降低下来。
2013-02-27 22:58:48 +08:00
2017-03-08 17:23:32 +08:00
## 如果你想在终端上运行
2014-07-04 05:17:21 +08:00
2017-03-08 17:23:32 +08:00
* 确定你的终端已经安装了Solarized配色方案!
* 如果你不想用solarized配色的终端, 那就确认你这么做哦了:
2014-07-04 05:17:21 +08:00
let g:yadr_using_unsolarized_terminal = 1
# in ~/.vimrc.before
2017-03-08 17:23:32 +08:00
* 如果你想用一个替代的配色方案, 譬如Gruvbox, 那就在你的`~/.vimrc.after` 这么做:
2014-07-04 05:17:21 +08:00
let g:yadr_disable_solarized_enhancements = 1
2015-01-05 03:47:06 +08:00
colorscheme base16-twilight
2014-07-04 05:17:21 +08:00
2017-03-08 17:23:32 +08:00
### 升级
2012-01-25 03:53:44 +08:00
2017-03-08 17:23:32 +08:00
升级非常简单。
2012-06-07 13:14:09 +08:00
```bash
2012-09-29 01:38:59 +08:00
cd ~/.yadr
2013-12-16 04:11:22 +08:00
git pull --rebase
2012-10-09 12:38:21 +08:00
rake update
2012-06-07 13:14:09 +08:00
```
2017-03-08 17:23:32 +08:00
## 哪些东西被包括了,如何配置?
2012-01-25 03:53:44 +08:00
2017-03-08 17:23:32 +08:00
继续阅读, 了解更多YADR给你提供的!
2012-01-25 03:53:44 +08:00
2012-09-29 01:38:59 +08:00
### [Homebrew](http://mxcl.github.com/homebrew/)
2012-03-19 12:15:37 +08:00
2017-03-08 17:23:32 +08:00
Homebrew是_缺失了的OSX包管理系统_, 它会被自动安装。
2012-08-10 00:09:50 +08:00
2017-03-08 17:23:32 +08:00
我们自动安装了一些常用的包, 例如ctags, git, macvim, hub, 以及silver searcher ('ag')。
注意我们的自动补全插件需要MacVim支持Lua。安装器知道如何安装, 但如果你以前安装过, 你需要手动删除你以前的MacVim。
2011-12-08 15:27:41 +08:00
2012-09-29 01:38:59 +08:00
### ZSH
2012-01-25 02:53:58 +08:00
2017-03-08 17:23:32 +08:00
把Zsh想象成一个更加牛逼的Bash, 却又无需太多学习成本。它会为你写的命令行作自动拼写矫正, 语法高亮, 以及更多。
我们并且还增加了很多增强性能:
2013-12-16 04:11:22 +08:00
2017-03-08 17:23:32 +08:00
* Vim模式和bash风格的历史反查询: `Ctrl-R`
* 插入上一行命令的结果: `Ctrl-x,Ctrl-l`
* 模糊匹配 - 如果你打错了文件夹名, tab补全会修正它。
* [fasd ](https://github.com/clvv/fasd ) 集成 - 输入 `z` 会帮你半自动匹配最近用过的文件夹。Tab补全也开启了。
* [Prezto - YADR's背后的zsh ](http://github.com/sorin-ionescu/prezto )
* [如何添加你自己的ZSH主题 ](doc/zsh/themes.md )
2011-12-07 13:57:45 +08:00
2017-03-08 17:23:32 +08:00
### 别名
2011-12-18 06:11:05 +08:00
2017-03-08 17:23:32 +08:00
大部分我们每天用的东西都可以用两到三个字符的别名完成。请自行修改他们:
2011-11-18 05:45:33 +08:00
2017-03-08 17:23:32 +08:00
ae # alias 编辑
ar # alias 重载
2011-11-18 05:45:33 +08:00
2012-09-27 02:05:28 +08:00
2017-03-08 17:23:32 +08:00
### Git定制化:
2012-01-25 02:53:58 +08:00
2017-03-11 01:15:04 +08:00
YADR会接管你的`~/.gitconfig`, 所以如果你想存储你的git用户名及其他设置, 请把他们放在`~/.gitconfig.user`
我们推荐在这个文件里设置你的用户信息是。另外,你可以将你的环境变量恰当地设置在你的 `~/.secrets` 里。
* `git l` 或 `gl` - 可用度更高的git log
* `git b` 或 `gb` - 含有上一个commit摘要的分支列表
* `git r` - 有关源列表的信息
* `git t` 或 `gt` - 有关标签列表的信息
* `git nb` 或 `gnb` - 正如checkoub -b, 建立一个新的分支
* `git cp` 或 `gcp` - cherry-pick -x (显示那些被cherrypick过的)
* `git simple` - 一个更加简洁的构建changelogs的命令
* `git recent-branches` - 帮助告诉你最近使用过的分支
* `git unstage` / `guns` (从index上移除) 以及 `git uncommit` / `gunc` (撤销至上一个commit之前的时刻 - 如果代码已经push过, 这个操作将会非常危险) 别名
* 一些合情合理的默认设置, 例如优化合并分支信息, 只推送当前分支, 删除状态提示, 以及在diff过程中使用易于记忆的前缀: (i)ndex, (w)ork tree, (c)ommit and (o)bject
* 微微优化了diff的颜色
* `gdmb` (g)it (d)elete (m)erged (b)ranches - 删除所有已经合并到当前分支的分支
2012-01-25 02:53:58 +08:00
2012-09-29 01:38:59 +08:00
### RubyGems
2011-12-19 05:08:35 +08:00
2017-03-11 01:15:04 +08:00
.gemrc被包含了。 再也不用输入`gem install whatever --no-ri --no-rdoc`. `--no-ri --no-rdoc` ,因为默认都做好哦了。
2011-11-18 05:45:33 +08:00
2017-03-11 01:15:04 +08:00
### Tmux 设置
2013-11-16 05:53:34 +08:00
2017-03-11 01:15:04 +08:00
`tmux.conf` 为Mac OS上的tmux提供了一些合情合理的默认设置, 例如强大的状态条和VIM键盘绑定。
你可以在`~/.tmux.conf.user`修改配置。
2013-11-16 05:53:34 +08:00
2017-03-11 01:15:04 +08:00
### 让所有的东西都Vim风格化
2012-05-19 05:08:46 +08:00
2017-03-11 01:15:04 +08:00
已经提供好的inputrc和editrc将把你的很多命令行工具- 例如mysql和irb- 转变成vim风格的。并且editrc还包含了一个Ctrl-R反向历史搜索功能, 这在irb、postgres命令行等等中非常实用。
2012-01-25 02:53:58 +08:00
2017-03-11 01:15:04 +08:00
### Github 问题: [ghi gem](https://github.com/stephencelis/ghi)
2013-12-16 04:56:36 +08:00
2017-03-11 01:15:04 +08:00
我们纳入了`ghi`命令。 试试 `ghi list` , 然后在使用命令行管理issues中获得快了吧!
2013-12-16 04:56:36 +08:00
2017-03-11 01:15:04 +08:00
## Vim - 哪些被包含了呢?
2011-11-18 06:40:21 +08:00
2017-03-11 01:15:04 +08:00
* [导航 - NERDTree, EasyMotion, CtrlP 以及更多 ](doc/vim/navigation.md )
* [文本对象 - 操作ruby块, 以及更多 ](doc/vim/textobjects.md )
* [操作代码 - rails支持, 注释, 代码片, 高亮 ](doc/vim/coding.md )
* [工具 - 缩进, 粘贴缓冲区管理, 以及更多 ](doc/vim/utils.md )
* [通常的并不添加新命令行的改进 ](doc/vim/enhancements.md )
2012-09-29 01:38:59 +08:00
2017-03-11 01:15:04 +08:00
下面列出了一些YADR提供的最有用的命令。这不是一个很全的列表。若想挖掘更多信息, 每天联系其中几个, 然后开始深入查看上面列表中提供的插件来学习更多。
2012-09-29 01:38:59 +08:00
2017-03-11 01:15:04 +08:00
#### 导航
2011-12-13 13:04:42 +08:00
2017-03-11 01:15:04 +08:00
* `,z` - 到前一个缓冲区 (:bp)
* `,x` - 到下一个缓冲区 (:bn)
* `Cmd-j` 及 `Cmd-k` 用函数来上下粗略的移动(Linux中的`Alt`)
* `Ctrl-o` - 之前的光标位置 - 这是一个标准的健映射,但很有用,所以这边给出来了
* `Ctrl-i` - 对应于Ctrl-O(再一次, 这是标准的)
2011-12-21 15:48:33 +08:00
2017-03-11 01:15:04 +08:00
#### 搜索/代码导航
2011-12-11 18:05:29 +08:00
2017-03-11 01:15:04 +08:00
* `,f` - 快速查找class的定义(exuberant ctags必须被安装过)
* `,F` - 类似于`,f`,但是会用垂直分割的界面显示
* `,gf` 或 `Ctrl-f` - 和vim中正常的gf一样 (进入文件), 但是在一个垂直分割的界面中 (碰到带有行数的, 例如file.rb:123, 一样能行)
* `gF` - 标准的vim键映射, 为了完整性而列在这里 (带有行数也行)
* `,k` - 搜索当前光标下的单词, 然后将结果显示到quickfix窗口里
* `,K` - Grep当前单词一直到下一个感叹号(在ruby foo!方法中很有用)
* `Cmd-*` - 将所有当前单词出现的地方高亮(与正常的`*`一样,除了不移动)
* `,hl` - 切换搜索高亮
* `,gg` 或 `,ag` - 在命令行中grep, 在双引号之间输入。 使用 Ag(Silver Searcher)。
* 在使用`,gg`搜索过,你可以用`Ctrl-x` 和 `Ctrl-z` 来浏览 (或者标准vim命令 `:cn` 和 `:cp` )
* `,gd` - 当光标在函数名字上的时候, Grep定义 (检索'def [function name]')
* `,gcf` - 在当前文件搜索对当前文件的索引
* `//` - 清除搜索
* `,,w` (别名 `,<esc>` ) 或者 `,,b` (别名 `,<shift-esc>` ) - EasyMotion, 一个让你有种vim统治者的工具, 它能将所有屏幕上所有可以跳入的地方全部高亮。
* `,mc` - 将该单词标记为多光标处理模式(就像sublime). 用 `Ctrl-n` (下一个), `Ctrl-p` (前一个), `Ctrl-x` (跳过) 来添加更多的光标, 然后就像正常用vim那样, 例如修改单词。
* `gK` - 打开cursor底下这个单词的文档。
* Spacebar - Sneak - 在一行中通过输入两个字符来移动。就像是vim的`f`但更加精确。
* `:Gsearch foo` - 全局搜索, 然后使用正常的`%s/search/replace/g`紧接着用`:Greplace`来在所有的文件中作替换操作。结束后,使用`:wall`来写入所有文件。
2017-01-17 01:59:52 +08:00
2011-12-13 13:04:42 +08:00
2017-03-11 01:15:04 +08:00
#### 文件导航
2014-02-16 11:21:08 +08:00
2017-03-11 01:15:04 +08:00
* `,t` - CtrlP 模糊文件选择
* `,b` - CtrlP 缓冲区选择 - 非常适用于想跳入一个你已经打开的文件
* `Cmd-Shift-M` - 跳入方法- CtrlP 在当前缓冲区里作标签化搜索
* `,jm` 跳入模型内。其他`,j`键映射: `,jc` 控制器, `,jh` 帮助集, 等等。
* `Cmd-Shift-N` - NERDTree toggle (Linux中的`Alt`)
* `Ctrl-\` - 在NERDTree中显示当前文件
* `Cmd-Shift-P` - 清除CtrlP缓存
2011-12-24 06:13:59 +08:00
2013-12-16 12:27:00 +08:00
#### Better keystrokes for common editing commands
2012-01-03 04:27:36 +08:00
2015-06-03 08:03:09 +08:00
* Ctrl-Space to autocomplete. Tab for snipmate snippets.
2013-12-16 12:27:00 +08:00
* `,#` `,"` `,'` `,]` `,)` `,}` to surround a word in these common wrappers. the # does #{ruby interpolation}. works in visual mode (thanks @cj ). Normally these are done with something like `ysw#`
2014-09-30 04:09:30 +08:00
* `Cmd-'` , `Cmd-"` , `Cmd-]` , `Cmd-)` , etc to change content inside those surrounding marks. You don't have to be inside them (`Alt` in Linux)
2014-02-16 11:25:17 +08:00
* `,.` to go to last edit location (same as `'.` ) because the apostrophe is hard on the pinky
* `,ci` to change inside any set of quotes/brackets/etc
2011-12-18 05:27:01 +08:00
2013-12-16 12:27:00 +08:00
#### Tabs, Windows, Splits
2011-12-18 05:27:01 +08:00
2014-09-30 04:09:30 +08:00
* Use `Cmd-1` thru `Cmd-9` to switch to a specific tab number (like iTerm and Chrome) - and tabs have been set up to show numbers (`Alt` in Linux)
2014-10-25 04:01:18 +08:00
* `Ctrl-h,l,j,k` - to move left, right, down, up between splits. This also works between vim and tmux splits thanks to `vim-tmux-navigator` .
2012-01-26 11:33:59 +08:00
* `Q` - Intelligent Window Killer. Close window `wincmd c` if there are multiple windows to same buffer, or kill the buffer `bwipeout` if this is the last window into it.
* `vv` - vertical split (`Ctrl-w,v`)
* `ss` - horizontal split (`Ctrl-w,s`)
2014-02-16 11:08:32 +08:00
* `,qo` - open quickfix window (this is where output from Grep goes)
2012-01-26 11:33:59 +08:00
* `,qc` - close quickfix
2011-12-16 14:20:51 +08:00
2012-01-26 11:15:03 +08:00
#### Utility
2011-12-13 13:04:42 +08:00
2014-02-16 11:25:17 +08:00
* `Ctrl-p` after pasting - Use `p` to paste and `Ctrl-p` to cycle through previous pastes. Provided by YankRing.
* `,yr` - view the yankring - a list of your previous copy commands. also you can paste and hit `ctrl-p` for cycling through previous copy commands
2012-09-27 06:51:38 +08:00
* `crs` , `crc` , `cru` via abolish.vim, coerce to snake_case, camelCase, and UPPERCASE. There are more `:help abolish`
2012-09-26 23:21:48 +08:00
* `:NR` - NarrowRgn - use this on a bit of selected text to create a new split with just that text. Do some work on it, then :wq it to get the results back.
2012-01-26 11:33:59 +08:00
* `,ig` - toggle visual indentation guides
2012-04-15 07:40:50 +08:00
* `,cf` - Copy Filename of current file (full path) into system (not vi) paste buffer
* `,cn` - Copy Filename of current file (name only, no path)
2012-01-26 11:33:59 +08:00
* `,yw` - yank a word from anywhere within the word (so you don't have to go to the beginning of it)
* `,ow` - overwrite a word with whatever is in your yank buffer - you can be anywhere on the word. saves having to visually select it
2012-04-27 15:35:48 +08:00
* `,ocf` - open changed files (stolen from @garybernhardt ). open all files with git changes in splits
2012-01-26 11:33:59 +08:00
* `,w` - strip trailing whitespaces
* `sj` - split a line such as a hash {:foo => {:bar => :baz}} into a multiline hash (j = down)
* `sk` - unsplit a link (k = up)
2012-02-25 05:37:21 +08:00
* `,he` - Html Escape
* `,hu` - Html Unescape
2012-09-12 01:19:04 +08:00
* `,hp` - Html Preview (open in Safari)
2014-09-30 04:09:30 +08:00
* `Cmd-Shift-A` - align things (type a character/expression to align by, works in visual mode or by itself) (`Alt` in Linux)
2012-04-06 01:27:29 +08:00
* `:ColorToggle` - turn on #abc123 color highlighting (useful for css)
2014-02-16 11:25:17 +08:00
* `:Gitv` - Git log browsers
2012-04-04 17:21:19 +08:00
* `,hi` - show current Highlight group. if you don't like the color of something, use this, then use `hi! link [groupname] [anothergroupname]` in your vimrc.after to remap the color. You can see available colors using `:hi`
2013-01-11 00:25:02 +08:00
* `,gt` - Go Tidy - tidy up your html code (works on a visual selection)
2014-09-30 04:09:30 +08:00
* `:Wrap` - wrap long lines (e.g. when editing markdown files)
* `Cmd-/` - toggle comments (usually gcc from tComment) (`Alt` in Linux)
2012-01-26 11:33:59 +08:00
* `gcp` (comment a paragraph)
2011-12-16 16:30:43 +08:00
2014-02-16 11:25:17 +08:00
#### Rails & Ruby
* `,vv` and `,cc` to switch between view and controller - these are maps to :Rcontroller and :Rview. Explore the :R< Tab > family of commands for more fun from rails.vim!
* `,rs` and `,rl` to run rspec or a spec line in iTerm (check iTerm window for results)
* `,ss` and `,sl` for the same using `spring rspec` which makes your Rails specs faster by caching the Rails env (must have spring gem installed)
* vim-ruby-refactoring - try `,rem` , `,rel` to extract methods or let statements
* `Ctrl-s` - Open related spec in a split. Similar to :A and :AV from rails.vim but is also aware of the fast_spec dir and faster to type
* `:Bopen [gem name]` to navigate to a gem (@tpope/vim-bundler)
* `,gcp` - Grep Current Partial to find references to the current view partial
* `,orb` - outer ruby block. takes you one level up from nested blocks (great for rspec)
#### Vim Dev
* `,vc` - (Vim Command) copies the command under your cursor and executes it in vim. Great for testing single line changes to vimrc.
* `,vr` - (Vim Reload) source current file as a vim file
2013-12-16 04:11:22 +08:00
## Extending and overriding YADR settings
2012-01-25 02:53:58 +08:00
2013-12-16 04:11:22 +08:00
* [Debugging vim keymappings ](doc/vim/keymaps.md )
* [Overriding vim settings with ~/.vimrc.after and friends ](doc/vim/override.md )
* [Adding your own vim plugins ](doc/vim/manage_plugins.md )
2011-12-07 17:02:20 +08:00
2013-12-16 04:11:22 +08:00
## Misc
2011-11-18 06:50:58 +08:00
2013-12-16 04:11:22 +08:00
* [Credits & Thanks ](doc/credits.md )
* [Other recommended OSX productivity tools ](doc/osx_tools.md )
* [Yan's Blog ](http://yanpritzker.com )
2011-12-09 15:40:18 +08:00
2012-01-25 02:53:58 +08:00
### OSX Hacks
2013-12-16 04:11:22 +08:00
2011-11-18 06:50:58 +08:00
The osx file is a bash script that sets up sensible defaults for devs and power users
2011-11-19 00:10:06 +08:00
under osx. Read through it before running it. To use:
2014-11-21 06:04:13 +08:00
bin/osx
2011-11-19 00:10:06 +08:00
2011-12-07 13:57:45 +08:00
These hacks are Lion-centric. May not work for other OS'es. My favorite mods include:
2011-11-19 00:10:06 +08:00
2011-12-07 13:57:45 +08:00
* Ultra fast key repeat rate (now you can scroll super quick using j/k)
2012-01-03 04:27:36 +08:00
* No disk image verification (downloaded files open quicker)
2011-12-07 13:57:45 +08:00
* Display the ~/Library folder in finder (hidden in Lion)
2014-02-16 11:21:08 +08:00
2014-03-14 10:17:31 +08:00
### Macvim troubles with Lua?
```
brew uninstall macvim
brew remove macvim
brew cleanup
2016-04-29 00:53:48 +08:00
brew install macvim --custom-icons --with-override-system-vim --with-lua --with-luajit
2014-03-14 10:17:31 +08:00
```
2015-05-05 03:20:49 +08:00
### Terminal Vim troubles with Lua?
Installing terminal vim (with lua) with an RVM managed Ruby can cause the neocomplete plugin to segfault. Try uninstalling vim, then installing with system ruby:
```
brew uninstall vim
rvm system do brew install vim --with-lua
```
2014-02-16 11:21:08 +08:00
### [Pry](http://pry.github.com/)
Pry offers a much better out of the box IRB experience with colors, tab completion, and lots of other tricks. You can also use it
as an actual debugger by installing [pry-nav ](https://github.com/nixme/pry-nav ).
[Learn more about YADR's pry customizations and how to install ](doc/pry.md )