1. Steve Losh
  2. gundo.vim
Issue #46 new

Gundo doesn't work if plugin path has spaces

Anonymous created an issue

The plugin path should be escaped (my .vim folder is in "~/Ubuntu One/". Using escape worked for me:

exe 'pyfile ' . escape(s:plugin_path, ' ') . '/gundo.py'

Comments (2)

  1. Chris Johnson

    It probably makes more sense to patch this like this instead:

    let s:plugin_path = escape(expand('<sfile>:p:h'), ' \')
    

    If I can figure out how to submit a patch to bitbucket I'll send it in.

  2. Log in to comment