From f45c82a760bba467e18de18a1e20a33569a05f05 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 18 Mar 2014 22:40:36 -0400 Subject: [PATCH] Document session options limitations References #16. --- README.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.markdown b/README.markdown index afbd721c..a19ea282 100644 --- a/README.markdown +++ b/README.markdown @@ -103,6 +103,14 @@ If you really must use one: :!mkdir ~/.vim/bundle/name :UseVimball ~/.vim/bundle/name +> Why don't my plugins load when I use Vim sessions? + +Vim sessions default to capturing all global options, which includes the +`'runtimepath'` that pathogen.vim manipulates. This can cause other problems +too, so I recommend turning that behavior off: + + set sessionoptions-=options + ## Contributing If your [commit message sucks](http://stopwritingramblingcommitmessages.com/),