≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1619

Bug #1619: File list window is opening with everything collapsed into a closed fold, with no way to open it

Kind bug
Product Command-T
When 2010-07-23T10:31:47Z
Status closed
Reporter anonymous
Tags no tags

Description

Sometimes (but not always, not sure what the trigger is) when I open the command-t window I can only see a single file entry, and then I see a closed fold that the rest of the entries appear to be under. Fold commands don't appear to work within that window, so I have no way of opening the list and seeing what's there.

In my .vimrc I have:

set foldmethod=indent

but nothing else related to folding. Files generally open with all their folds collapsed, so I'm wondering if that's sometimes being triggered on the command-t window.

Comments

  1. Greg Hurrell 2010-07-23T10:39:28Z

    Thanks for the report.

    Perhaps the foldmethod=indent is causing things to be folded because the match listing looks like this:

    > file1
      file2
      file3

    Note how the first result has a > marking it as selected, and the other files have two leading spaces.

    Personally I use foldmethod=syntax, so that is probably why I haven't seen it. I'm going to see if I can make a buffer-local override so that the match listing never has folding activated in it.

  2. Greg Hurrell 2010-07-23T10:51:43Z

    I can reproduce this with:

    set foldmethod=indent
    set foldlevelstart=0
  3. Greg Hurrell 2010-07-23T11:01:23Z

    Ok, I think this should be fixed.

    It is only a one-line change to the ~/.vim/ruby/command-t/match_window.rb file, so you can probably insert it yourself if you don't want to wait until the next release.

  4. Greg Hurrell 2010-07-23T11:02:00Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets