![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IBM Creates New Power, SMB Server Divisions - IT Jungle | iBot | UNIX and Linux RSS News | 0 | 07-23-2007 03:00 PM |
| gVim on Windows | milhan | Windows & DOS: Issues & Discussions | 3 | 02-08-2007 04:34 PM |
| Strange IP traffic behavior when using Samba and FTP (Windows/Mac to Linux) | perspectx | UNIX for Advanced & Expert Users | 1 | 03-02-2005 03:18 PM |
| Flaw leaves Linux computers vulnerable | killerserv | News, Links, Events and Announcements | 3 | 04-08-2002 09:33 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hey folks,
I have used gVim in Windows for many years but I have never found an answer to a very simple question I am going to ask you guys... My question is if there is a way to eliminate the creation of those ~ files that gVim creates in Windows. If you have ever used gVim in Windows you probably noticed that gVim creates a file with the same name as the one you were editing except tacks a tilde (sp?) "~" to the end... Meaning if I were to edit the file "example.txt" gVim creates a file "example.txt~" and puts it in the same directory (as the original). I would not mind this if the file were deleted after I close gVim, but the file remains even after I close gVim. (I can open these "tilde files" and the appear to be just like the originals.) Anyone know how to prevent the file from being created or how to have gVim automatically delete it when the editing is done? Thanks a million! |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I tried setting
set nobackup in the startup settings file "_vimrc" (Menu > Edit > Startup Settings) but I still get the tilde files! |
|
#3
|
|||
|
|||
|
Eureka! I THINK I got it...
I had to make sure the the line / setting: set nobackup was placed AFTER the lines source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim once I did that (and opened files,) file backups were no longer created. I guess I could have answered my own question without posting here, but maybe this post will help some other gVim (in Windows) user out there. |
|||
| Google The UNIX and Linux Forums |