Re: vi dup
- From: jd <jd@xxxxxxxxxxx>
- Date: Thu, 22 May 2008 16:39:16 -0700
On Wed, 21 May 2008, Jeff Hyman wrote:
Nico Kadel-Garcia typed (on Tue, May 20, 2008 at 01:26:21AM -0700):
| On 20 May, 01:08, Bill Campbell <b...@xxxxxxxxxxxxx> wrote:
| > On Mon, May 19, 2008, Jeff Hyman wrote:
| > >Hello everyone out there,
| >
| > > Is there a way within 'vi', that can prevent the same user from
| > >'vi'ing the same file in another session?
| >
| > > As I get distracted with calls, etc, I may end up editing the same
| > >file, and inadvertently (and lastly) exiting the one without the mods.
| > >What a GREAT way to waste valuable time.
| >
| > Use vim instead of vi. Vim creates a .filename.swp file in the
| > same directory as the file being edited, and a second attempt to
| > edit the file results in a warning message. Vim uses that file
| > for recovery with ``vim -r filename'' instead of burying some
| > file under /var/tmp/somethingorother.
| >
| > Bill
| > --
|
| There are usable version of vim at Skunkware. I do't recommend
| installing it from scratch, getting the terminal behavior i a bit
| tricky.
Nico,
Forgive my ignorance, but what other way then installing from
scratch? Do you mean just take the 'vim' binary and put it in
the $PATH ??
Perhaps he meant "from SOURCE [code]"?
- Follow-Ups:
- Re: vi dup
- From: Nico Kadel-Garcia
- Re: vi dup
- References:
- vi dup
- From: Jeff Hyman
- Re: vi dup
- From: Bill Campbell
- Re: vi dup
- From: Nico Kadel-Garcia
- Re: vi dup
- From: Jeff Hyman
- vi dup
- Prev by Date: Re: gcc
- Next by Date: Re: vi dup
- Previous by thread: Re: vi dup
- Next by thread: Re: vi dup
- Index(es):
Relevant Pages
|