Update docs
This commit is contained in:
parent
46afd98e19
commit
c2a962786a
@ -211,7 +211,7 @@ results.
|
||||
Examples: >
|
||||
" Excluding version control directories
|
||||
set wildignore+=*/.git/*,*/.hg/*,*/.svn/* " Linux/MacOSX
|
||||
set wildignore+=.git\*,.hg\*,.svn\* " Windows
|
||||
set wildignore+=*\\.git\\*,*\\.hg\\*,*\\.svn\\* " Windows ('noshellslash')
|
||||
<
|
||||
Note #1: the `*/` in front of each directory glob is required.
|
||||
|
||||
|
@ -33,8 +33,8 @@ Run `:help ctrlp-mappings` or submit `?` in CtrlP for more mapping help.
|
||||
* End the input string with a colon `:` followed by a command to execute it on the opening file(s):
|
||||
Use `:25` to jump to line 25.
|
||||
Use `:/any\:\ string` to jump to the first instance of `any: string`.
|
||||
Use `:+setf\ myfiletype|25` to set the filetype to myfiletype, then jump to line 25.
|
||||
Use `:difft` when opening multiple files to run `:difft` on the first 4 files.
|
||||
Use `:+setfiletype\ myfiletype|25` to set the filetype to myfiletype, then jump to line 25.
|
||||
Use `:diffthis` when opening multiple files to run `:diffthis` on the first 4 files.
|
||||
|
||||
## Basic Options
|
||||
* Change the default mapping and the default command to invoke CtrlP:
|
||||
@ -61,7 +61,7 @@ Use `:difft` when opening multiple files to run `:difft` on the first 4 files.
|
||||
|
||||
```vim
|
||||
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
|
||||
set wildignore+=tmp\*,*.swp,*.zip,*.exe " Windows
|
||||
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
|
||||
|
||||
let g:ctrlp_custom_ignore = '\v(\.git|\.hg|\.svn)($|[\/])'
|
||||
let g:ctrlp_custom_ignore = {
|
||||
|
Loading…
Reference in New Issue
Block a user