~\vimfiles\data\swap
~\vimfiles\data\backup
however at my work i very often have to edit two different revisions
of the same project, meaning that quite often i have vim open two
files in different directories with the same name. because of the my
setting for backup and swap files this causes them to store in the
same location under the same name. does anybody know of a way of
giving unique names to the swap files and backup files.
example:
\home\myFirstProject\file.c
\home\mySecondProject\file.c
vim will store
~\vimfiles\data\swap\file.c.swp
~\vimfiles\data\backup\~file.c.swp
for both projects.
what i want is
~\vimfiles\data\swap\uniqueNameForMyFirstPeojctfile.c.swp
~\vimfiles\data\swap\uniqueNameForMySecondPeojctfile.c.swp
~\vimfiles\data\backup\~uniqueNameForMyFirstPeojctfile.c.swp
~\vimfiles\data\backup\~uniqueNameForMySecondPeojctfile.c.swp
any help is appreciated
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment