> On Dec 23, 2013, at 5:04 AM, Matteo Cavalleri <[email protected]> wrote: > > I'm trying to integrate ag in my workflow, i.e. stop switching to a shell to > grep and then going back to vim ;) > > I first started to simply use :Ggrep (from fugitive) but the "press enter to > continue" message made me add another plugin to my vimrc, so I'm now trying > to use ag.vim > > there's one thing though that confuses me a bit... I've configured vim to > automatically fold php files when i load them. when I press <cr> in the > quickfix window, vim loads the file and unfold the code as needed to show the > line I've jumped to, and that's fine. however if i presso "o" or "go" (two > maps defined by the plugin), vim loads the file but doesn't unfold the code. > given the fact that "o" is simply defined as: > > nnoremap <silent> <buffer> o <CR> > > i don't understand why there's no unfolding here...
Yeah that's a little strange. I've added an issue about this here: https://github.com/rking/ag.vim/issues/33 . Also it might be nice to have an option to close folds when opening matches (though I don't think that'd be the default), so I've added that as a feature request up for discussion here: https://GitHub.com/rking/ag.vim/issues/34 . Thanks for the report! > > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
