ctrlp.vim icon indicating copy to clipboard operation
ctrlp.vim copied to clipboard

Support Vim 8.0 feature to avoid vim getting stuck.

Open skywind3000 opened this issue 8 years ago • 2 comments

CtrlP is a great plugin, but still not so perfect (comparing to similar function in IDEs or Emacs): Vim always get unresponsive for a very noticable time when I'm opening CtrlP.

It would be very nice if CtrlP can refresh in background when I am using Vim 8.

Possible solution 1: Incremental Collecting in a timer.

Divide the whole file collecting job into pieces, and put them in timers (eg, a 20Hz interval), analyse fixed amount of files in an interval than refresh the ctrlp incrementally (just like similar plugins in emacs/IDE).

Possible solution 2: Collecting the files on background jobs .

Collecting all the files in a background job and output to a temporary file. And analyse/display them step by step in a timer.

Possible solution 3: Collecting the files on a python thread.


CtrlP will work perfectly in Vim 8 just like Emacs/IDEs.

skywind3000 avatar Dec 23 '16 04:12 skywind3000

This project is unmaintained, You should use this instead. https://github.com/ctrlpvim/ctrlp.vim

bdfish avatar Jan 20 '17 08:01 bdfish

To @bdfish's point, see https://github.com/ctrlpvim/ctrlp.vim/issues/349. It's still not possible unfortunately.

mahemoff avatar Aug 23 '18 08:08 mahemoff