vim - how to deisable backups of file after edit has finished
Hi , I've noticed that vim is taking backups of files. I took a look at /usr/share/vim/vimrc to check why . How do I disable this ? Adapt /usr/share/vim/vimrc or create ~/.vimrc files for the users (and root) ? Thx ! Blokie
On Fri, 21 Dec 2007 11:53:52 +0100 (CET) "blokkie" <blokkie@h0m3.be> wrote:
Hi ,
I've noticed that vim is taking backups of files. I took a look at /usr/share/vim/vimrc to check why . How do I disable this ? Adapt /usr/share/vim/vimrc or create ~/.vimrc files for the users (and root) ?
Thx !
Blokie
Add this to your ~/.vimrc : set nobackup
Gabriel Linder <linder@jeuxvideo.com> wrote:
On Fri, 21 Dec 2007 11:53:52 +0100 (CET) "blokkie" <blokkie@h0m3.be> wrote:
Hi ,
I've noticed that vim is taking backups of files. I took a look at /usr/share/vim/vimrc to check why . How do I disable this ? Adapt /usr/share/vim/vimrc or create ~/.vimrc files for the users (and root) ?
Thx !
Blokie
Add this to your ~/.vimrc : set nobackup
You could also add it to the global rc file (like many other distributions do). Is there any particular reason for disabling it by default? -- Matthias-Christian Ott
On Fri, 21 Dec 2007 11:53:52 +0100 (CET) "blokkie" <blokkie@h0m3.be> wrote:
Hi ,
Hello,
I've noticed that vim is taking backups of files. I took a look at /usr/share/vim/vimrc to check why . How do I disable this ? Adapt /usr/share/vim/vimrc or create ~/.vimrc files for the users (and root) ?
Don't take this in a bad way, but next time you post here, try to make it under the thought of the list's use. This is a CRUX mailing list and I think doubts wich aren't directly related to CRUX musn't be here. Taking a look to vim's FAQ you can see that there is a point related to backups.
Thx !
Blokie Regards.
Learning bit by bit. - pitillo -
On Fri, 21 Dec 2007 11:53:52 +0100 (CET) "blokkie" <blokkie@h0m3.be> wrote:
Hi ,
Hello,
I've noticed that vim is taking backups of files. I took a look at /usr/share/vim/vimrc to check why . How do I disable this ? Adapt /usr/share/vim/vimrc or create ~/.vimrc files for the users (and root) ?
Don't take this in a bad way, but next time you post here, try to make it under the thought of the list's use. This is a CRUX mailing list and I think doubts wich aren't directly related to CRUX musn't be here.
Taking a look to vim's FAQ you can see that there is a point related to backups.
Thx !
Blokie Regards.
Learning bit by bit. - pitillo -
Ok , point taken. I'll follow the spirit of this list and only post issues who are crux specific and not wide unix issues. Sorry for the disturbance :) Blokkie
participants (4)
-
blokkie
-
Gabriel Linder
-
Matthias-Christian Ott
-
pitillo