Skip to content

:CtrlPMRU now erroneously shows the current buffer. #88

Closed

Description

@washtubs

I didn't try to extensively reproduce this. I just noticed it after installing, so let me know if it's not easy to reproduce. I had to disable the plugin to fix.

:CrtlPMRU is supposed to automatically place your cursor on the previously opened buffer. Now it starts you on the current buffer, which you would obviously never need to switch to.

Activity

  1. ryanoasis commented on Aug 3, 2015

    @ryanoasis
    Owner

    @washtubs thanks and I will look into it. Sorry about that!

    Just FYI if you want you can disable just the ctrlp integration until this is fixed with:

    let g:webdevicons_enable_ctrlp = 0
  2. added this to the v0.5.3 milestone on Aug 3, 2015
  3. ryanoasis commented on Aug 7, 2015

    @ryanoasis
    Owner

    after a lot of digging I found the key issue inside s:MatchIt because I am sending the items with an extra glyph/icon but the current item (a:exc) here does NOT have the glyph so the match is failing causing the item to be added to the list when it shouldn't be.

    This all relates to how I am actually modifying s:mrufs instead of modifying the s:formatline() method and the change would require overwriting a ton more CtrlP functions 😢

    So I think what is going to happen is eventually I am going to drop support of Kien's original repo and only support the ctrlpvim active fork CtrlP because I could submit a PR to make this a lot easier

    Which one do you use by the way?

  4. removed this from the v0.5.3 milestone on Aug 7, 2015
  5. washtubs commented on Aug 8, 2015

    @washtubs
    Author

    I use kien's but until you mentioned it, I didn't know there was another one that was being actively maintained. Now I suppose I'll just switch to that one!

  6. ryanoasis commented on Aug 8, 2015

    @ryanoasis
    Owner

    😄

  7. ryanoasis commented on Nov 20, 2015

    @ryanoasis
    Owner

    Sorry for the late follow up. @washtubs is this still an issues?

    If you use pull the latest https://github.com/ctrlpvim/ctrlp.vim it should be fixed since my PR.

    I will test this out tomorrow. Cheers.

  8. ryanoasis commented on Nov 21, 2015

    @ryanoasis
    Owner

    Actually, sorry this still looks to be an issue 😢

  9. ryanoasis commented on May 27, 2016

    @ryanoasis
    Owner

    This is actually a very annoying UX , so I am going to try to work on it next after a few other ones are completed

  10. modified the milestone: v0.8.4 on Jun 3, 2016
  11. liuxyc commented on Jul 15, 2016

    @liuxyc

    this bug really prevent me using vim-devicons...... hope get fixed soon

  12. ryanoasis commented on Jul 15, 2016

    @ryanoasis
    Owner

    @liuxyc Sorry about that. Yes well I have a proposal for a solution (ctrlpvim/ctrlp.vim#267) but waiting for a response and then I would submit a PR to ctrlp that would add support for logic on vimdevicons side to complete the fix

  13. modified the milestones: v0.8.4, v0.9.0 on Jul 18, 2016
  14. ryanoasis commented on Jul 28, 2016

    @ryanoasis
    Owner

    The support needed in ctrlp has now been merged 🎉 . The vimdevicons portion will be added in the next release (v0.9.0)

  15. self-assigned this
    on Aug 18, 2016
  16. ryanoasis commented on Sep 23, 2016

    @ryanoasis
    Owner

    Wow has it been this long? 😊 I will try to get this up this weekend. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions