-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast close #7
Comments
ack.vim uses Vim's quickfix window (http://vimdoc.sourceforge.net/htmldoc/quickfix.html). You could map a key to close the quickfix window via the command :ccl . For instance:
I do not plan to build such a command into ack.vim, as I'd rather not usurp default quickfix window behavior for users who may not want such a thing, and I don't want to clobber a key that might be assigned to something that someone already uses. Does that make sense? |
It makes sense not to map a key to that, but in Ack.vim I can press escape and in NERDTree I can press q to close the window. That's not a complete binding, that key is only available when navigating in that window. |
Interesting. Perhaps I'll look into it at some point. I'm no vim-script expert, unfortunately. You're welcome to have at it yourself, as well. ;-) |
I updated the ack.vim and sent you a pull request. Hope you like it. Pressing q in the Ack buffer will close the window |
Damn! I go to lunch, and the feature is finished before I get back! It looks like it was pretty simple, too. (Not to diminish your efforts, which I greatly appreciate.) Thanks! |
Yeah, one of the good things that come out of timezones :) . I will cook my dinner now. With that method you can also add #3 |
|
Is it possible to close the split window with a simple keystroke ? e.g. esc ?
The text was updated successfully, but these errors were encountered: