Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upThe `'backupdir'` option doesn't support full paths. #2501
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
robertmeta
May 25, 2015
Glad to see this already sitting here with a patch! I was coming to request this unification of expectations.
robertmeta
commented
May 25, 2015
|
Glad to see this already sitting here with a patch! I was coming to request this unification of expectations. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Shougo
May 25, 2015
Contributor
Unfortunatelly, @ghost is removed account. And it seems already merged.
It should be closed?
|
Unfortunatelly, @ghost is removed account. And it seems already merged. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
splinterofchaos
May 25, 2015
Member
If you're refering to "Implement saving full paths for 'backupdir'. #2501", it is not on the master branch, and I don't see a PR attached to the commit.
|
If you're refering to "Implement saving full paths for 'backupdir'. #2501", it is not on the master branch, and I don't see a PR attached to the commit. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
OH.... |
justinmk
added
the
enhancement
label
Aug 17, 2015
justinmk
added this to the 0.3 milestone
Aug 17, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mkoskar
Mar 15, 2017
Since I've come across this, I'll offer kind of workaround I'm using successfully for quiet a long time:
autocmd BufWritePre * let &backupext = substitute(expand('%:p:h'), '/', '%', 'g')
mkoskar
commented
Mar 15, 2017
|
Since I've come across this, I'll offer kind of workaround I'm using successfully for quiet a long time:
|
ghost commentedApr 25, 2015
The
'directory'and'undodir'options support saving backup files based on the files full path. This functionality is missing from'backupdir'and this functionality has been sitting in vim's todo list for over 4 years:Here's the forgotten patch.