vim-fugitive icon indicating copy to clipboard operation
vim-fugitive copied to clipboard

With eclim, :Glog populates qflist, but :cn and :cp aren't working (:cf and :cl still do!)

Open christopherdolan opened this issue 15 years ago • 13 comments

Versions: Vim 7.3 2010 Aug 15 compiled with --enable-rubyinterp vim-fugitive at commit c872a54 (myriad other Vim plugins managed with pathogen)

When I run :Glog on a tracked file, the quickfix list is populated with commits, as expected. I can see them when I run :copen. I can select an item from the list and open a buffer by pressing . I can switch to the first and last with :cfirst and :clast, respectively. However, when I run :cnext or :cprevious, I always receive the following error:

E553: No more items

I cannot reproduce this by populating the quickfix list using :vimgrep. :cnext and :cprevious work as expected, in that case. I also cannot reproduce this on another machine using self-compiled Vim 7.3 and tag 1.2 of vim-fugitive.

christopherdolan avatar May 19 '11 22:05 christopherdolan

Reset to v1.2. Issue persists. Could it be that I've fouled up some persistent file somewhere? I do define custom folders for swap, backup, and views...

christopherdolan avatar May 19 '11 22:05 christopherdolan

(sorry for the spam. clicked 'Comment & Close' by mistake)

christopherdolan avatar May 19 '11 22:05 christopherdolan

If you :cc, what does it report back? ("1 of 3" or whatever)

tpope avatar May 19 '11 23:05 tpope

(1 of 5) info: Blah blah blah blah blah

On Thu, May 19, 2011 at 4:12 PM, tpope < [email protected]>wrote:

If you :cc, what does it report back? ("1 of 3" or whatever)

Reply to this email directly or view it on GitHub: https://github.com/tpope/vim-fugitive/issues/78#comment_1207021

christopherdolan avatar May 20 '11 14:05 christopherdolan

I have the same problem, exactly as aelien27 described. macvim 7.3-57

devth avatar May 31 '11 23:05 devth

Exact same issue here, running vim 7.3.154 on debian. Like aelien27, I have defined custom backup folders -- maybe that's relevant somehow?

mvoelske avatar Jun 13 '11 21:06 mvoelske

@mvoelske, doesn't sound likely, but nothing does. It'd probably be worth your time to try with a stripped down config.

tpope avatar Jun 14 '11 03:06 tpope

Okay, I've experimented a little; using a blank .vimrc doesn't help, but removing all plugins other than vim-fugitive does. Must be some other plugin not playing nicely that causes this. I'll see if I can pinpoint which one is to blame.

EDIT: Problem is gone after removing the "eclim" plugin. Updating that to the newest version doesn't help, unfortunately. Guess it's either eclim or Glog-cnext for now.

mvoelske avatar Jun 14 '11 12:06 mvoelske

mvoelske: Here's a list of my installed Vim plugins (I'm using Tim's awesome Pathogen to manage them). Do we have any overlap? http://pastebin.com/uKHGPpL4

On Tue, Jun 14, 2011 at 5:43 AM, mvoelske < [email protected]>wrote:

Okay, I've experimented a little; using a blank .vimrc doesn't help, but removing all plugins other than vim-fugitive does. Must be some other plugin not playing nicely that causes this. I'll see if I can pinpoint which one is to blame.

Reply to this email directly or view it on GitHub: https://github.com/tpope/vim-fugitive/issues/78#issuecomment-1365669

christopherdolan avatar Jun 14 '11 15:06 christopherdolan

I run eclim as well, but looks like @aelien27 does not.

Edit: removing eclim fixed it for me.

devth avatar Jun 14 '11 15:06 devth

Well now I feel silly. I do have eclim, actually... just not in the .vim/bundle subfolder. After removing it... go on and guess what happened...

(SPOILER: everything became awesome) If loving eclim and fugitive is wrong, I don't wanna be right

christopherdolan avatar Jun 15 '11 21:06 christopherdolan

I reported this issue to eclim's github page: https://github.com/ervandew/eclim/issues/56

idbrii avatar Jun 17 '11 05:06 idbrii

ervandew/eclim@1bd862a037091f0be7cd should resolve this issue.

ervandew avatar Jun 17 '11 16:06 ervandew