After a search in unite.vim
, you open a candidate. Is there an easy way to jump to the next one without having to run the search command again? Similar plugins (ack.vim
, git-grep
) use the quickfix window, so you can type :cn
and :cp
to jump to next/previous results. Is there anything similar in unite.vim
?
Thanks!
I haven't managed to find a way to put results into the quickfix or location lists, though I'm sure you could extend Unite to include that action.
Meanwhile, this little exerpt from the Unite documentation can help you re-open the Unite buffer you just recently had open:
I use this in the following way in my vimrc:
Another useful snippet from the docs:
For example, you could bind
To be able to press
<leader>lg
to grep through your source files, without closing or de-focusing the Unite buffer when you select an item.