Didn“t work for me...

It gave me an error saying that it could not make the backup file...



Mathias Michaelis wrote:
> 
> Hello Kev
> 
>> Whenever I edit a file in gvim on Windows, a temporary
>> file of the same name but with a tilde (~) on the end
>> is created.
>> 
> This are backup files and are (meaningfully) not deleted after
> closing the corresponding file.
> 
> In my $HOME/vimfiles directory I have created a folder named
> "backup". Then, I putted in my .vimrc or _vimrc file the lines:
> 
>     "
>     " keep a backup file
>     "
>     set backup
>     set backupdir=$HOME/vimfiles/backup/
> 
> Now, all backup files are kept in this one backup directory. If you
> don't like this at all, you can put the line
> 
>     set nobackup
> 
> at the place of the lines above.
> 
> Best regards
> 
> Mathias
> 
> 

-- 
View this message in context: 
http://www.nabble.com/vim-temp-files-on-windows-tf159693.html#a6906290
Sent from the Vim - General mailing list archive at Nabble.com.

Reply via email to