ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

Allows switching file listing command in ctrlp #533

Open lriuui0x0 opened 4 years ago

lriuui0x0 commented 4 years ago

I want to either list only files that are not ignored, or all files (sometimes you want to check the contents of a file that you don't usually need to worry). I'd like to bind this switching to a key but I cannot find a way to hook this in since the allowed key mappings are predefined.

Wouldn't it be a good idea to allow key mappings on a custom function?

alfredbez commented 4 years ago

This is probably related to #143