From f7561810bf259a1b44c409095e4af1ca7cec1288 Mon Sep 17 00:00:00 2001 From: Kien N Date: Mon, 14 May 2012 19:25:47 +0700 Subject: [PATCH] Minor doc update --- doc/ctrlp.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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*