hi
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this includes running a command line, then reloading the file (because
the date changes when i checkout the file), then let me edit it.
i want all to be
: vi question
hi
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this includes running a command line, then reloading the file (because
the date changes when i checkout the file), then let me edit it.
i want all
Quoting Tzahi Fadida [EMAIL PROTECTED]:
what about a script?
here is a script i wrote in 5 min. you are missing the if to check if the
file
is read only, i don't know what program can test that, but i am sure others
know(p.s i used bash):
bash itself can test that:
if [ ! -w filename ]
On Thu, 18 Sep 2003, Erez Doron wrote:
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi ust
to view it.
this includes running a command
guy keren wrote:
On Thu, 18 Sep 2003, Erez Doron wrote:
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi ust
to view
at http://members.lycos.co.uk/my2nis/spamwarning.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erez Doron
Sent: Thursday, September 18, 2003 1:15 PM
To: Ilug
Subject: vi question
hi
i am using a version control software
i want vi to automatically checkout
guy keren wrote:
On Thu, 18 Sep 2003, Erez Doron wrote:
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi ust
to view it.
this includes
]
* - * - * - * - * - * - * - * - * - *
WARNING TO SPAMMERS: see at
http://members.lycos.co.uk/my2nis/spamwarning.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erez Doron
Sent: Thursday, September 18, 2003 1:15 PM
To: Ilug
Subject: vi question
hi
i am
PROTECTED]
Cc: Ilug
Subject: Re: vi question
i have a script that does checkout, but i have to do:
1. write the file - i get a warning it is r/o
2. force write ( :w! ) - still can't write
3. run checkout script
4. vi now tells me that the file i'm editing is older than the file on
disk. i press 'o
On Thursday, Sep 18, 2003, at 18:52 Asia/Jerusalem, Erez Doron wrote:
what i still need is that if the file is read-only, whenver i press
'i' for insert or 'o' or I or a or A etc ... that it will do what f9
does,
( and also get rid of the 'y' i have to answer)
OK, what you need is (a) to define
, 18 2003, 16:36,Lior Kesos:
guy keren wrote:
On Thu, 18 Sep 2003, Erez Doron wrote:
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi
11 matches
Mail list logo