pry/pry — Issue #461: Using vi as editor fails
Author: kibs
Created: 2012-02-04 09:21:15+00:00
State: open

I have set my EDITOR to vi and when using the edit command in a pry console, my vi opens nicely and the last input is set perfectly, but when I do a :wq or zz when done, pry gives me this error

```
Error: `vi /var/folders/mf/202wzq994jg0864xy3snhv840000gn/T/pry20120204-96334-hxmf0w.rb` gave exit status: 1
```

and the altered input from the is not evaluated, and I have really no clue in what I am doing wrong