Skiplist: filter a few files by default
This commit is contained in:
parent
593388d3db
commit
04ad724e80
2 changed files with 21 additions and 14 deletions
|
@ -381,20 +381,27 @@ At the moment only git, hg, bzr and svn are supported.
|
|||
------------------------------------------------------------------------------
|
||||
*g:startify_skiplist*
|
||||
>
|
||||
let g:startify_skiplist = [
|
||||
\ 'COMMIT_EDITMSG',
|
||||
\ escape(fnamemodify(resolve($VIMRUNTIME), ':p'), '\') .'doc',
|
||||
\ 'bundle/.*/doc',
|
||||
\ ]
|
||||
let g:startify_skiplist = []
|
||||
<
|
||||
A list of Vim regular expressions that is used to filter recently used files.
|
||||
See |pattern.txt| for what patterns can be used.
|
||||
|
||||
The following patterns are filtered by default:
|
||||
|
||||
'runtime/doc/.*\.txt$'
|
||||
'bundle/.*/doc/.*\.txt$'
|
||||
'plugged/.*/doc/.*\.txt$'
|
||||
'/.git/'
|
||||
'fugitiveblame$'
|
||||
escape(fnamemodify(resolve($VIMRUNTIME), ':p'), '\') .'doc/.*\.txt$'
|
||||
|
||||
NOTE: Due to the nature of patterns, you can't just use "~/mysecret" but have
|
||||
to use "$HOME .'/mysecret.txt'". The former would do something entirely
|
||||
different: |/\~|. When using backslashes as path separators, escape them.
|
||||
Otherwise using "C:\this\vim\path\is\problematic" would not match what you
|
||||
expect, since |/\v| is a pattern, too.
|
||||
different: |/\~|.
|
||||
|
||||
NOTE: When using backslashes as path separators, escape them. Otherwise using
|
||||
"C:\this\vim\path\is\problematic" would not match what you would expect, since
|
||||
|/\v| is a pattern, too.
|
||||
|
||||
Example:
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue