Re: vim doesn't create backups of files edited in /tmp

2006-08-29 Thread Alexander Skwar
A.J.Mechelynck <[EMAIL PROTECTED]>: > Alexander Skwar wrote: >> But when I edit a file which is in /tmp, there's no backup file "left >> behind". [...] > :set backupskip= Thanks to both of you, that's exactly the solution! Alexander Skwar -- printk("CPU[%d]: Sending penguins to jail...",s

Re: vim doesn't create backups of files edited in /tmp

2006-08-25 Thread A.J.Mechelynck
Alexander Skwar wrote: Hello! In my ~/.vimrc, I've got, among other settings, "set backup". Because of this, vim creates backup files in the current directory. That's good! But when I edit a file which is in /tmp, there's no backup file "left behind". Why's that so and how do I change this? I

Re: vim doesn't create backups of files edited in /tmp

2006-08-25 Thread Jürgen Krämer
Hi, Alexander Skwar wrote: > > In my ~/.vimrc, I've got, among other settings, "set backup". Because > of this, vim creates backup files in the current directory. That's good! > > But when I edit a file which is in /tmp, there's no backup file "left > behind". > > Why's that so and how do I ch

vim doesn't create backups of files edited in /tmp

2006-08-25 Thread Alexander Skwar
Hello! In my ~/.vimrc, I've got, among other settings, "set backup". Because of this, vim creates backup files in the current directory. That's good! But when I edit a file which is in /tmp, there's no backup file "left behind". Why's that so and how do I change this? I'm using vim 7.0 on Gent

Re: [OSX issue?] Re: Backups

2006-07-03 Thread Yakov Lerner
On 7/4/06, Robert Hicks <[EMAIL PROTECTED]> wrote: set backup set backupdir=~/.vim/backup set dir=~/.vim/temp " Configuration for savevers.vim " http://www.vim.org/scripts/script.php?script_id=89 set patchmode=.prev let savevers_types="*" let savevers_max=10 let savevers_purge=1 let savevers_di

Re: [OSX issue?] Re: Backups

2006-07-03 Thread Robert Hicks
Robert Hicks wrote: set backup set backupdir=~/.vim/backup set dir=~/.vim/temp " Configuration for savevers.vim " http://www.vim.org/scripts/script.php?script_id=89 set patchmode=.prev let savevers_types="*" let savevers_max=10 let savevers_purge=1 let savevers_dir=&backupdir That is my conf

[OSX issue?] Re: Backups

2006-07-03 Thread Robert Hicks
set backup set backupdir=~/.vim/backup set dir=~/.vim/temp " Configuration for savevers.vim " http://www.vim.org/scripts/script.php?script_id=89 set patchmode=.prev let savevers_types="*" let savevers_max=10 let savevers_purge=1 let savevers_dir=&backupdir That is my config...and it doesn't w

Re: Backups

2006-07-03 Thread Vigil
Can it be that my version of savevers, being not the latest savevers, works better than the later versions of savevers ? Weird. I guess when I pulled my latest copy (we both are using 0.8), it was corrupt or something, because yours works. Thanks. -- .

Re: Backups

2006-07-03 Thread Yakov Lerner
up set patchmode=.prev let savevers_dirs="~/backups/vim" exe "set backupskip+=*" . &patchmode exe "set suffixes+=" . &patchmode exe "set wildignore+=*" . &patchmode Here are my savevers settings: " {{{ configuration for savevers.vim " htt

Re: Backups

2006-07-03 Thread Vigil
Because savevers (script #89) no longer works properly with vim 7 savevers perfectly works for me in vim7, just as it did for vim6 Weird. Tell me, do your settings differ greatly from mine?: " savevers set backup set patchmode=.prev let savevers_dirs="~/backups/vim" exe

Re: Backups

2006-07-03 Thread Yakov Lerner
On 7/3/06, Vigil <[EMAIL PROTECTED]> wrote: Because savevers (script #89) no longer works properly with vim 7 savevers perfectly works for me in vim7, just as it did for vim6 Yakov

Backups

2006-07-03 Thread Vigil
Because savevers (script #89) no longer works properly with vim 7, you can see what I'm trying to do here: autocmd BufWritePre,FileWritePre * saveas "~/backups/vim/" . % . "-" . strftime("%y%m%d-%H%M%s") However, I'm getting an error detected. I tried

Re: Backups question

2006-05-05 Thread Yegappan Lakshmanan
Hi, On 5/5/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: On 5/5/06, David Venus <[EMAIL PROTECTED]> wrote: > 1. How do I get VIM to automagically create the directory (if it does not > exist) Add this to your vimrc: :if !isdirectory('c:/temp/vim_backups.d') :call system('mkdir c:\temp\vim

Re: Backups question

2006-05-05 Thread Yakov Lerner
On 5/5/06, David Venus <[EMAIL PROTECTED]> wrote: 1. How do I get VIM to automagically create the directory (if it does not exist) Add this to your vimrc: :if !isdirectory('c:/temp/vim_backups.d') :call system('mkdir c:\temp\vim_backups.d') endif 2. How do I set VIM to not append a bac

Backups question

2006-05-05 Thread David Venus
Hi! I am sure this is covered someplace but I am missing it. All help is greatly appreciated! This is VIM 7.0g. 1. How do I get VIM to automagically create the directory (if it does not exist) that I want backup files placed in? ie. ".\backup.d". 2. How do I set VIM to not append a backu