Support defining multiple user VCS commands with g:ctrlp_user_command
following this format:
let g:ctrlp_user_command = {
\ 'types': {
\ 1: [root_marker_1, listing_command_1],
\ n: [root_marker_n, listing_command_n],
\ },
\ 'fallback': fallback_command
\ }
Check the docs for a working example (:help ctrlp_user_command).
Refs #118
* Use :buffer commands when opening already opened files, all modes. Refs #97.
* Temporarily enable full-path if input has '/' or '\'. Close#98.
* Ignore possible empty return strings (from malformed tags). Close#99.
* Fix an incorrect cwd bug when opening multiple buffers with <c-o>.
Introduced by f1c2b7a. Refs #108.
* Default keymap can be disabled with `let g:ctrlp_map = ''`. Refs #103.
* Remove duplicate rts entries. Close#107.
Fix#86
Also:
* Make <F5> in MRU mode also remove excluded files.
* Make switching MRU and MRE an option. Close#87.
* Improve handling of some option vars.
* Add g:ctrlp_mruf_relative, an option to list only MRU files in the current
working directory. Close#81.
* Extend <c-y> to work with <c-z> to get a base dir to create the new file.
First stab at feature #77.
* Remove the hard limit for partial matching. Resolve#76.
* Merge custom_statusline. Close#80. Refs Lokaltog/vim-powerline#25.
* Add an option to allow user to rebuild the statuslines:
let g:ctrlp_status_func = {
\ 'main': 'function_name_1',
\ 'prog': 'function_name_2',
\ }
See https://gist.github.com/1610859 for a working example.
* Remove active buffer from MRU listing. Close#66.
* Re-evaluate ctrlp_user_command when changing dir. Fix#69.
* Link to custom ctrlp_user_command config in the docs. Close#70.
* Allow running commands like `:diffthis` when opening multiple files.
* Add experimental extensions:
+ undo.vim (requires v7.3.005+)
+ rtscript.vim (find vimscripts in runtimepath)
* Include the workaround for <bs> and <c-h> for MS-Win. Resolve#62.
* Mention custom_ignore in readme and on the homepage. Resolve#63.
* Check the present of cwd in returned paths. Fix#64.
* Trigger Vim to remove cwd from display-names. Fix#65.
* Some internal changes and additions.