If you mean when you open the file in the windows gVim it destroys the permissions, that is expected. Windows doesn't know about or understand the "Unix" permissions cygwin uses.
actually I thought about that.
Just as in unix/cygwin we place a
Code:
umask 077 # or some other value
in the .profile/.bash_profile to overwrite the file creation mask, is there also a similar config file on windows that we can modify the file creation mask? I realized Windows (gVim) always sets the file permissions to a specific value, which means it has a default..
I have a linux Enterprise Server Version 3 (ES) . It does not have Gvim on it. Can someone tell me how I can get Gvim on it please. I have spent a fair bit of time researching this and have not figured it out. I am probably missing something simple.
Frank (1 Reply)
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... (2 Replies)
I need to be very careful to keep ^M characters out of files.
In gVim, I can change the file format to Unix easily enough, but is there any way to make Unix the default format?
I can see "startup options" in the menu, but this takes me to some meaningless config file. I believe my config value... (1 Reply)
Hello All,
I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ?
i have checked with older version. backspace works in it.
Thanks
Shiv (1 Reply)
Hi People,
Does gvim latest versions support tabs. I would like to open different files in tabs rather than new windows or split windows. I would like to whether the current version supports it, if it doesn't then how to add such feature.
Thanks,
:) (2 Replies)
I use sugarsync to sync my vimrc across computers. I keep the _vimrc file in a syncing folder and in my home folder, I have a symbolic link ~\_vimrc pointing to ~\Synced Docs\_vimrc. On my mac I have a .vimrc symbolic link pointing at the _vimrc file. On the pc side, every time I open the _vimrc... (3 Replies)
Hi, Dummy here!
I have a file in my directory named "jest". I wonder why I couldn't save change by using Shift + z + z which I used to do. But it work fine with :wq! command.
The second thing is, after several time of accessing the file, I notice my directory appears many files named jest~,... (1 Reply)
Hey all,
I work in a group environment where multiple people may end up editing the same file. We have measures in place so no two people can edit the same file at once. I have a script that does the following:
call: script file
The script will backup the file,
Moves the file to a... (2 Replies)
Discussion started by: Brusimm
2 Replies
LEARN ABOUT SUSE
vitmp
VITMP(1) General Commands Manual VITMP(1)NAME
vitmp - edit temporary files
SYNOPSIS
vitmp [VIM options] FILE...
DESCRIPTION
vitmp is a wrapper around the VIM editor which may be used to invoke the editor in a way that is guaranteed to be suitable for editing tem-
porary files used with programs such as crontab(1) and edquota(8). The instance of the editor that is invoked is /bin/vi.
In particular, it is guaranteed that the file, if edited, will be overwritten in place such that the modified contents may be read back via
a previously obtained file descriptor. Invoking the editor via vitmp also makes sure that no additional editor temporary files are used.
Please note that vitmp offers no crash recovery capabilities. If the editor crashes during the overwrite, data may be lost.
HISTORY
vitmp first appeared in Openwall GNU/*/Linux 1.0.
AUTHORS
Solar Designer <solar@owl.openwall.com>
SEE ALSO crontab(1), vi(1), vim(1), edquota(8)Openwall Project 25 April 2002 VITMP(1)