Skip to content

set backupdir does not support double trailing slashes to include path info in filename #179

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. add to your vimrc:  set backupdir=~/tmp/vimbackupdir//
2. cd /some/dir
3. vim somefile
4. :w

What is the expected output?
~/tmp/vimbackupdir/ should have a filename with embedded path info so that you 
can edit the same filename in different directories without overwriting. The 
same way that "set directory" handles it for swap files.

What do you see instead?
Files in backupdir have only the filename.


What version of the product are you using? On what operating system?
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 12 2013 08:50:31)
Ubuntu 12.04.2 LTS

Original issue reported on code.google.com by mattm@chromium.org on 13 Nov 2013 at 11:44

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions