From c01acf39085fa9698ab4cb9b1f729f3596bafe0b Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 1 May 2013 12:41:36 +0200 Subject: [PATCH] exclude bookmarked files from MRU files --- plugin/startify.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/startify.vim b/plugin/startify.vim index db77119..b1b37d5 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -12,6 +12,10 @@ let g:loaded_startify = 1 let g:startify_session_dir = resolve(expand(get(g:, 'startify_session_dir', \ has('win32') ? '$HOME\vimfiles\session' : '~/.vim/session'))) +if exists('g:startify_bookmarks') && exists('g:startify_skiplist') + call extend(g:startify_skiplist, map(['~/.vimrc'], 'expand(v:val)')) +endif + augroup startify autocmd! autocmd VimEnter *