diff --git a/doc/ctrlp.txt b/doc/ctrlp.txt index 2d532ef..adad5e6 100644 --- a/doc/ctrlp.txt +++ b/doc/ctrlp.txt @@ -948,7 +948,7 @@ Statuslines:~ =============================================================================== MISCELLANEOUS CONFIGS *ctrlp-miscellaneous-configs* -* Use |wildignore| for |g:ctrlp_user_command|: +* Using |wildignore| for |g:ctrlp_user_command|: > function! s:wig2cmd() " Change wildignore into space or | separated groups @@ -987,6 +987,12 @@ MISCELLANEOUS CONFIGS *ctrlp-miscellaneous-configs* < (requires Vim 7.1.299+) +* Using a |count| to invoke different commands using the same mapping: +> + let g:ctrlp_map = 'f' + let g:ctrlp_cmd = 'exe "CtrlP".get(["", "Buffer", "MRU"], v:count)' +< + =============================================================================== CREDITS *ctrlp-credits*