XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 596 forks source link

:q quits XCode! #283

Open sseyod opened 12 years ago

sseyod commented 12 years ago

Pressing :q within XCode (using XVim) quits XCode; really, it should close the open window instead. Testing with latest source build using XCode 4.5, Mac OS 10.8

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Goaman commented 12 years ago

+1

JugglerShu commented 12 years ago

I made a bind :q to closeDocument action in File menu. I think this still does not meet all your request but better than quiting Xcode.

marlonandrade commented 12 years ago

Neither close XCode nor close window is the expected behavior for me. So I've mapped it to closeDocument.

nmap :q :xccmd<Space>closeDocument

sseyod commented 12 years ago

Excellent stuff - many thanks!!

And a comment for JugglerShu - your plug-in is tremendous. I hope many more developers get to hear about it!

JugglerShu commented 12 years ago

Thanks. Remember that a lot of people helped me to develop this plugin including this kind of request. I'm working on refactoring and cleaning current code base to build more features on it. Look forward to it!

JugglerShu commented 12 years ago

I keep this issue to remember that the current :q command is not still ideal. What I'm thinking to implement is...

If the document closed is the last document in the window close window too

Let me know if you guys think of more ideal way.

tallytalwar commented 9 years ago

+1. Started seeing this with xcode 6.3. Was working for me before (by working I mean it only used to close the document I had opened)