Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update docs

  • Loading branch information...
commit c2a962786af995d6ee63cad4deaaad5de06a4801 1 parent 46afd98
@kien authored
Showing with 6 additions and 6 deletions.
  1. +2 −2 doc/ctrlp.txt
  2. +4 −4 readme.md
View
4 doc/ctrlp.txt
@@ -210,8 +210,8 @@ You can use Vim's |'wildignore'| to exclude files and directories from the
results.
Examples: >
" Excluding version control directories
- set wildignore+=*/.git/*,*/.hg/*,*/.svn/* " Linux/MacOSX
- set wildignore+=.git\*,.hg\*,.svn\* " Windows
+ set wildignore+=*/.git/*,*/.hg/*,*/.svn/* " Linux/MacOSX
+ set wildignore+=*\\.git\\*,*\\.hg\\*,*\\.svn\\* " Windows ('noshellslash')
<
Note #1: the `*/` in front of each directory glob is required.
View
8 readme.md
@@ -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:
@@ -60,8 +60,8 @@ Use `:difft` when opening multiple files to run `:difft` on the first 4 files.
* Exclude files and directories using Vim's `wildignore` and CtrlP's own `g:ctrlp_custom_ignore`:
```vim
- set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
- set wildignore+=tmp\*,*.swp,*.zip,*.exe " Windows
+ set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
+ set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
let g:ctrlp_custom_ignore = '\v(\.git|\.hg|\.svn)($|[\/])'
let g:ctrlp_custom_ignore = {
Please sign in to comment.
Something went wrong with that request. Please try again.