command-t icon indicating copy to clipboard operation
command-t copied to clipboard

command-t buffer remains open with vim-startify

Open samuelallan72 opened this issue 7 years ago • 1 comments

Steps to reproduce:

  1. open vim when vim-startify is enabled
  2. start command-t
  3. open a file with command-t, or press esc to cancel
  4. command-t buffer remains open, and crashes with an "invalid buffer id" error when trying to interact with it afterwards

This only affects it when first opening vim - if :Startify is run later during a session and command-t is then called, there are no problems. I suspect it's something to do with vim-startify setting a combination of buffer options so it isn't treated as a normal file, and command-t is making some assumptions that causes it to lose its buffer id or something.

samuelallan72 avatar May 11 '17 08:05 samuelallan72

I wouldn't be surprised if vim-startify is doing something funky with autocommands (suppressing them in some way, or perhaps double/early triggering them).

Not a startify user myself, but I will have a look into it at some point. Let me know if you discover anything else in the meantime, and thanks for the report.

wincent avatar May 11 '17 14:05 wincent

Given the big rewrite for v6.0.x, I'm closing all older issues as there is unlikely to be anything significant happening on the 5-x-devel branch from here on[^patches]. Feedback issue for 6.0.x is here:

  • https://github.com/wincent/command-t/issues/393

[^patches]: Patches and PRs would be welcome, but my personal efforts are going to be directed towards main.

wincent avatar Aug 26 '22 21:08 wincent