Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

vim-mac · Vim (Vi IMproved) text editor Macintosh list

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 83 - 112 of 13695   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#83 From: Bram Moolenaar <bram@...>
Date: Sat Jun 24, 2000 2:24 pm
Subject: Vim version 5.7 has been released
bram@...
Send Email Send Email
 
Announcing:  Vim (Vi IMproved) version 5.7
     Author:  Bram Moolenaar et al.

Announcement
------------
This is a bug-fix release of Vim.  Since version 5.6 bugs have been fixed and
a few improvements have been made.

Vim 5.7 has been tested by quite a few people over the past weeks, and there
are no big changes since version 5.6.  This should be the most stable Vim
version ever.  But it's free software, the usual disclaimers apply.


What is Vim?
------------
Vim is an almost 100% compatible version of the UNIX editor Vi.  Many new
features have been added: Multi level undo, syntax highlighting, command line
history, filename completion, block operations, etc.  Those who don't know Vi
can probably skip this message, unless you are prepared to learn something new
and useful.  Vim is especially recommended for editing programs.

Vim runs on almost any Unix flavor, MS-DOS, MS-Windows 3.1, MS-Windows
95/98/NT/2000, OS/2, Atari MiNT, BeOS, VMS, RISC OS, Macintosh and Amiga.

For more information, see "http://www.vim.org".


New since version 5.6
---------------------
Not much:
- 19 new syntax files.
- "explorer.vim" script, works like a file browser.

And many bug fixes!  This version is aimed at stability.

See ":help version-5.7" in Vim for the details.


Where to get it
---------------
You can find a list of distribution sites at

         ftp://ftp.vim.org/pub/vim/MIRRORS

Suggested locations:

         ftp://ftp.<country>.vim.org/pub/vim/
         ftp://ftp.vim.org/pub/vim/

Replace <country> with a country code, e.g.:

         ftp://ftp.us.vim.org/pub/vim/


What is available
-----------------
Note that for all systems the distribution is split into an archive with
runtime files (documentation, syntax files, etc.) and a binary and/or source
archive.  You should download at least two archives!

FILE                       SYSTEM  COMMENTS

unix/vim-5.7-src.tar.gz    Unix(*) Sources.
unix/vim-5.7-rt.tar.gz     Unix(*) Runtime files.

extra/vim-5.7-extra.tar.gz Unix(*) Extra sources and docs (Farsi, OLE, VisVim).

unix/vim-5.6-5.7-rt.diff.gz        Runtime diff with version 5.6.
unix/vim-5.6-5.7-src.diff.gz       Sources diff with version 5.6.
extra/vim-5.6-5.7-extra.diff.gz    Extra diff with version 5.6.

pc/vim57rt.zip             Win32   MS-DOS and MS-Windows runtime files.
pc/gvim57.zip              Win32   32 bit MS-Windows 95/98/NT/2000 GUI
                                    binaries.
                                    Recommended for MS-Windows 95/98/NT/2000.
                                    The best choice for syntax highlighting and
                                    speed.
pc/gvim57ole.zip           Win32   32 bit MS-Windows 95/98/NT/2000 GUI
                                    binaries, with OLE support and VisVim.
pc/gvim57_s.zip            Win32s  32 bit MS-Windows 3.1/3.11 GUI binaries.
                                    Requires Win32s.
pc/vim57w32.zip            Win32   32 bit MS-Windows 95/98/NT/2000 console
                                    binaries.  Recommended for Windows NT/2000,
                                    NOT for 95/98.  Supports long file names.
pc/vim57d32.zip            MS-DOS  32 bit protected mode binaries.
                                    Recommended for MS-DOS, MS-Windows 3.1 and
                                    MS-Windows 95/98 console.  It is compiled
                                    with DJGPP, it may need a DPMI driver
                                    (CWSDPMI is included).  Supports long file
                                    names on MS-Windows 95/98 (NOT on NT/2000).
pc/vim57d16.zip            MS-DOS  16 bit real mode binaries.
                                    Runs on most MS-DOS systems, but is
                                    restricted to using 640K memory.  Small
                                    version, without e.g., syntax highlighting
                                    and autocommands.
pc/vim57src.zip            PC      Sources for PC versions (with CR-LF).

os2/vim57rt.zip            OS/2    Runtime files (same as pc/vim57rt.zip).
os2/vim57os2.zip           OS/2    Binaries.
                                    (use the Unix archives for sources)

amiga/vim57rt.tgz          Amiga   Runtime files.
amiga/vim57bin.tgz         Amiga   Binaries.
amiga/vim57big.tgz         Amiga   Binaries with more features.
amiga/vim57src.tgz         Amiga   Sources for Amiga.

doc/vim57html.zip          all     Documentation converted to HTML.

patches/*                  all     Recent patches.

(*) Also for BeOS, OS/2, VMS, Macintosh and Atari MiNT

The contents of the source archives depends on the specified system.  To
obtain the full sources and docs, get the three Unix archives.


system    file type      Unpack with

Unix      file.tar.gz    gunzip file.tar.gz; tar xf file.tar
Amiga     file.tgz       gzip -d file.tgz; tar xf file.tar
PC        file.zip           pkunzip -d file.zip
                          or: unzip file.zip


Mailing lists
-------------
For user questions you can turn to the Vim mailing list.  There are a lot of
tips, scripts and solutions.  You can ask your Vim questions, but only if you
subscribe.  See http://www.vim.org/mail.html.  An archive is kept at
http://www.egroups.com/group/vim.

If you want to help developing Vim or get the latest patches, subscribe to the
vim-dev mailing list.  An archive is kept at
http://www.egroups.com/group/vimdev.

Subject specific lists:
Multi-byte issues: vim-multibyte  http://www.egroups.com/group/vim-multibyte
Macintosh issues:  vim-mac        http://www.egroups.com/group/vim-mac


Reporting bugs
--------------
Send them to <Bram@...>.  Please be brief, all the time spent on answering
mail is subtracted from the time that is spent on improving Vim!  Always give
a reproducable example and try to find out which settings or other things
influence the appearance of the bug.  Try different machines if possible.  See
":help bugs" in Vim.  Send me patches if you can!

If something needs discussing with other developers, send a message to the
vim-dev mailing list.  You need to subscribe first.


Happy Vimming!

--
hundred-and-one symptoms of being an internet addict:
103. When you find yourself in the "Computer" section of Barnes & Noble
      enjoying yourself.

/-/-- Bram Moolenaar --- Bram@... --- http://www.moolenaar.net --\-\
\-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/

#84 From: Bram Moolenaar <bram@...>
Date: Tue Jun 27, 2000 6:55 pm
Subject: Re: Multibyte vim 5.7 for Macintosh available
bram@...
Send Email Send Email
 
Kenichi Asai wrote:

> One thing that I noticed during compilation was that the name of the
> CodeWarrior project file is not very appropriate.
>
> - In src/INSTALL_mac.txt, it should have the name `os_mac.cw5.hqx' but
> actually it is `os_mac.cw5.sit.hqx'.

I think the difference is that the ".sit" file is compressed.  It is about 28
Kbyte, while your file is about 143 Kbyte.  I would like to include your
improved version (if others agree) but preferably in the compressed version.

I have trouble downloaing this file with Netscape, it insists on decoding it
and I can't find how to disable that...

--
hundred-and-one symptoms of being an internet addict:
123. You ask the car dealer to install an extra cigarette lighter
      on your new car to power your notebook.

///  Bram Moolenaar     Bram@...     http://www.moolenaar.net  \\\
\\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///

#85 From: Kenichi Asai <vim-mac-egroups-wrapper@...>
Date: Wed Jun 28, 2000 9:03 am
Subject: Re: Multibyte vim 5.7 for Macintosh available
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Dear MacVim developpers,

Eugene Lee wrote:
>I went to your site and tried to download your 5.7 binaries.  However,
>none of the links to the binaries worked.  I didn't know if there was
>some strange problem with the web server, or maybe the filenames are
>different.

Sorry for this and thank you for pointing this out.  I forgot to
insert a directory name in the file path.  I think you can get them
now.

# If you could successfully use your language (Hangul?), I can include
# that information together with necessary options.

Bram wrote:
>> - In src/INSTALL_mac.txt, it should have the name `os_mac.cw5.hqx' but
>> actually it is `os_mac.cw5.sit.hqx'.
>
>I think the difference is that the ".sit" file is compressed.  It is about 28
>Kbyte, while your file is about 143 Kbyte.  I would like to include your
>improved version (if others agree) but preferably in the compressed version.

I prepared a compressed version which is available at:

http://www.is.s.u-tokyo.ac.jp/~asai/macvim/vim.mcp.sit.hqx

You can either

- change its name to os_mac.cw5.hqx, or

- change its name to os_mac.cw5.sit.hqx and change src/INSTALL_mac.txt
accordingly.

Both should work fine.

>I have trouble downloaing this file with Netscape, it insists on decoding it
>and I can't find how to disable that...

Select Preferences from the Edit menu, click Applications under
Navigator folder, find "Macintosh Binhex Archive", click Edit, and
select "Save To Disk".  This is how I did it with my Netscape
Communicator 4.6.

Sincerely,

---
Kenichi Asai

#86 From: Eugene Lee <vim-mac-egroups-wrapper@...>
Date: Wed Jun 28, 2000 9:53 am
Subject: Re: Multibyte vim 5.7 for Macintosh available
vim-mac-egroups-wrapper@...
Send Email Send Email
 
On Wed, Jun 28, 2000 at 06:03:51PM +0900, Kenichi Asai wrote:
:Eugene Lee wrote:

:>I went to your site and tried to download your 5.7 binaries.  However,
:>none of the links to the binaries worked.  I didn't know if there was
:>some strange problem with the web server, or maybe the filenames are
:>different.
:
:Sorry for this and thank you for pointing this out.  I forgot to
:insert a directory name in the file path.  I think you can get them
:now.

I did, thanks for the quick reply!

I just have a quick question.  Can I just download and use the normal
Vim 5.7 runtime files (vim-5.7-rt.tar.gz), or are there MacOS changes
that need to be made (e.g. converting Unix newlines to Mac newlines)?


--
Eugene Lee
eugene@...

#87 From: Kenichi Asai <vim-mac-egroups-wrapper@...>
Date: Wed Jun 28, 2000 10:19 am
Subject: Re: Multibyte vim 5.7 for Macintosh available
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Eugene Lee worte:
>I just have a quick question.  Can I just download and use the normal
>Vim 5.7 runtime files (vim-5.7-rt.tar.gz), or are there MacOS changes
>that need to be made (e.g. converting Unix newlines to Mac newlines)?

It seems that it is better to change Unix newlines to Mac newlines.
Without doing this, vim starts up, but if I type :help uganda, vim
says it has no help for uganda.  After converting newlines, it works
fine.

What I usually do is to check "convert newlines when text files"
option found in my StuffItExpander.

Other than this, I make no changes from vim-5.7-rt.tar.gz.

Sincerely,

---
Kenichi Asai

#88 From: Benji Fisher <vim-mac-egroups-wrapper@...>
Date: Wed Jun 28, 2000 1:27 pm
Subject: Re: Multibyte vim 5.7 for Macintosh available
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Kenichi Asai wrote:
>
> Eugene Lee worte:
> >I just have a quick question.  Can I just download and use the normal
> >Vim 5.7 runtime files (vim-5.7-rt.tar.gz), or are there MacOS changes
> >that need to be made (e.g. converting Unix newlines to Mac newlines)?
>
> It seems that it is better to change Unix newlines to Mac newlines.
> Without doing this, vim starts up, but if I type :help uganda, vim
> says it has no help for uganda.  After converting newlines, it works
> fine.
>
> What I usually do is to check "convert newlines when text files"
> option found in my StuffItExpander.
>
> Other than this, I make no changes from vim-5.7-rt.tar.gz.
>
> Sincerely,
>
> ---
> Kenichi Asai

      I have not tested this recently, but IIRC the only file that
matters is the tags file, which should be in Mac format.  In older
versions of vim (around 5.3, when i started using it) any file that was
:sourced had to be in UNIX format, but that has been fixed.

HTH 			 --Benji Fisher

#89 From: Bram Moolenaar <bram@...>
Date: Wed Jun 28, 2000 9:25 pm
Subject: Re: Multibyte vim 5.7 for Macintosh available
bram@...
Send Email Send Email
 
Kenichi Asai wrote:

> I prepared a compressed version which is available at:
>
> http://www.is.s.u-tokyo.ac.jp/~asai/macvim/vim.mcp.sit.hqx

Very good.  I'd like to hear from others if I should include this one.

> You can either
>
> - change its name to os_mac.cw5.hqx, or
>
> - change its name to os_mac.cw5.sit.hqx and change src/INSTALL_mac.txt
> accordingly.

I prefer short names, otherwise "ls" shows only three columns.  How about
"os_mac.sit.hqx"?  The "sit" shows it's compressed.  Or would it be more
important to use the "cw5"?

> Both should work fine.
>
> >I have trouble downloaing this file with Netscape, it insists on decoding it
> >and I can't find how to disable that...
>
> Select Preferences from the Edit menu, click Applications under
> Navigator folder, find "Macintosh Binhex Archive", click Edit, and
> select "Save To Disk".  This is how I did it with my Netscape
> Communicator 4.6.

It wasn't there in my version (I'm using the Linux version on FreeBSD).
Perhaps the "netscape default" is catching it.  I'll add an entry for ".hqx"
with "save to disk", lets see if that works...

--
hundred-and-one symptoms of being an internet addict:
132. You come back and check this list every half-hour.

///  Bram Moolenaar     Bram@...     http://www.moolenaar.net  \\\
\\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///

#90 From: Bram Moolenaar <bram@...>
Date: Wed Jul 12, 2000 1:13 pm
Subject: Vim presentation on WAN
bram@...
Send Email Send Email
 
Invitation for Vim presentation

There will be a presentation about Vim on the WAN event (We Are Networking).
This is a camp site in the north-east of Holland where computer enthousiasts
meet for a week.  More info about WAN: http://www.wan.nl .

I will do the presentation on Saturday July 29, starting at 14:30h.  Everybody
is welcome to listen and discuss about Vim.  If possible, there will also be a
workshop to tackle some Vim issues.  Perhaps we can implement a new feature
together?

There is an entrance fee, they provide a whole program for that.  Before my
presentation there is another one on Sendmail.  You can spend the night there
(if you bring a tent).  I have never been there before, but it looks like
there is going to be a lot of fun besides the serious computer stuff.

Depending on the audience the presentation will be in Dutch or English.  There
will be plenty of time to meet Vim users and developers (and me!).

--
Microsoft's definition of a boolean: TRUE, FALSE, MAYBE
"Embrace and extend"...?

///  Bram Moolenaar     Bram@...     http://www.moolenaar.net  \\\
\\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///

#91 From: Robert Link <vim-mac-egroups-wrapper@...>
Date: Fri Aug 4, 2000 6:01 pm
Subject: removing control characters
vim-mac-egroups-wrapper@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I want to take an old MSWord file, open it in vimppc, and zap all
control characters, leaving me alpha-num-punctuation; here's what I
thought should work:

:%s/[[:cntrl:]]//g

This nets me a warning, "Pattern not found: [[:cntrl:]]"

All help appreciated, backchannel is just fine.  Thanks!!
- --
Robert Link

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOYsE2oHvG1x/HQ+LEQISxACcCqlirtLyAdxv/RhseGElKuwSXFAAoI38
rya6vqbKqFSkAZTRagSrwzBJ
=QklX
-----END PGP SIGNATURE-----

#92 From: Benji Fisher <vim-mac-egroups-wrapper@...>
Date: Fri Aug 4, 2000 7:07 pm
Subject: Re: removing control characters
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Robert Link wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I want to take an old MSWord file, open it in vimppc, and zap all
> control characters, leaving me alpha-num-punctuation; here's what I
> thought should work:
>
> :%s/[[:cntrl:]]//g
>
> This nets me a warning, "Pattern not found: [[:cntrl:]]"
>
> All help appreciated, backchannel is just fine.  Thanks!!
> - --
> Robert Link

      I find the same problem, even after adding <C-X> and <C-C> to my
file.  Maybe you and I do not understand what is meant by control
characters, or maybe it is a bug.  I get the same behavior under linux.

      Why not try

:s/[^[:punct:][:alnum:][:space:]]//g

or

:s/[^[:print:]]//g

Maybe the first:  I do not know whether control characters count as
"printable," but <Tab> does not.  BTW, <Tab> is really <C-I>; you might
want to keep those.

HTH 			 --Benji Fisher

#93 From: Bram Moolenaar <bram@...>
Date: Fri Aug 4, 2000 8:12 pm
Subject: Re: removing control characters
bram@...
Send Email Send Email
 
Robert Link wrote:

> I want to take an old MSWord file, open it in vimppc, and zap all
> control characters, leaving me alpha-num-punctuation; here's what I
> thought should work:
>
> :%s/[[:cntrl:]]//g
>
> This nets me a warning, "Pattern not found: [[:cntrl:]]"

This is a bug.  The NUL character is accidentally included in the range, and
it truncates the regexp.  I'll make a patch for it against 5.7.

--
hundred-and-one symptoms of being an internet addict:
116. You are living with your boyfriend who networks your respective
      computers so you can sit in separate rooms and email each other

///  Bram Moolenaar     Bram@...     http://www.moolenaar.net  \\\
\\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///

#94 From: Sven Guckes <vim-mac-egroups-wrapper@...>
Date: Tue Aug 8, 2000 4:27 pm
Subject: Re: runtime archive files - conversion necessary?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
* Benji Fisher <fisherbb@...> [000628 13:27]:
> I have not tested this recently, but IIRC the only file that
> matters is the tags file, which should be in Mac format.
> In older versions of vim (around 5.3, when i started using it)
> any file that was :sourced had to be in UNIX format,
> but that has been fixed.

I wonder - can it be fixed that the format of the
tags file has to be in DOS/Mac/Unix format?

If so then there would be no need to convert any files
and there would be no need for extra runtime archives.

Please keepin mind that this will make it
just more complicated for the database
used to download Vim and the runtime files:

Download Vim:
   what: [Archive]           (binary/runtime/source)
   for:  [Operating System]  (Windows*, Linux, FreeBSD,...)
   from: [Mirror]            (ftp.country.vim.org)

Sven

#95 From: vim-mac-egroups-wrapper@...
Date: Sat Aug 12, 2000 10:23 am
Subject: Test
vim-mac-egroups-wrapper@...
Send Email Send Email
 
After some complaints about my NoSpam mail adress, i have now installed
a new mail adress especially for vim support.

Please reply to me privately to see if it works.

Thanks Axel

--
There is nothing left to try
There is nothing left to choose
There is no greater power
Then the power of VI

#96 From: Robert Link <vim-mac-egroups-wrapper@...>
Date: Thu Aug 17, 2000 1:11 pm
Subject: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How can I open a file from the command line without typing the entire
path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If
there's a good faq for this kind of thing, feel free to point me to
it.  Thanks!
- --
Robert Link

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOZvke4HvG1x/HQ+LEQK+NACg65G9YTxgYkWhF1YCfAgczTgWvPEAoOb2
HdHjzRCUEht5Gm9fxsuUXdns
=46HE
-----END PGP SIGNATURE-----

#97 From: Benji Fisher <vim-mac-egroups-wrapper@...>
Date: Fri Aug 18, 2000 1:24 am
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Robert Link wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> How can I open a file from the command line without typing the entire
> path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If
> there's a good faq for this kind of thing, feel free to point me to
> it.  Thanks!
> - --
> Robert Link

      Is this a vim question or a Mac question?  I do not know what
"revC" means, and (perhaps related) I have never seen a command line on
a Mac.  I do have a utility for starting programs from the keyboard;
once vim is running, I can use :cd or :find or ...

HTH 			 --Benji Fisher

#98 From: Eugene Lee <vim-mac-egroups-wrapper@...>
Date: Fri Aug 18, 2000 5:57 am
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
On Thu, Aug 17, 2000 at 09:24:18PM -0400, Benji Fisher wrote:
:
: Robert Link wrote:
: >
: > How can I open a file from the command line without typing the entire
: > path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If
: > there's a good faq for this kind of thing, feel free to point me to
: > it.  Thanks!
:
:      Is this a vim question or a Mac question?  I do not know what
: "revC" means,

"revC" is his shorthand to indicate the hardware revision C iMacs.
However, it doesn't matter what Mac he's using.  And it really doesn't
matter what MacOS version he's using, either.

: and (perhaps related) I have never seen a command line on
: a Mac.  I do have a utility for starting programs from the keyboard;
: once vim is running, I can use :cd or :find or ...

Command lines don't exist on a regular Mac system.  I've played with a
Tcl shell from the Mac Tcl/Tk distribution that offers a few functions
for a very *very* basic shell, but nothing like a modern Unix shell.

To answer the original question, there isn't a way to.  Unless you
customize Vim to put you in a specific folder when it's started, you
normally are stuck in the same folder as the VimPPC app itself.  Now
there is a built-in filename completion feature that uses the TAB key,
but it doesn't seem to work terribly well (at least for me) if your
pathname starts with a Mac volume.

Now if you wanna open a text file with Vim whose file creator isn't set
to "VIM!", the easiest thing to do is to drag your text file onto the
VimPPC icon directly, or indirectly on an alias or a launcher app.


--
Eugene Lee
eugene@...

#99 From: Nils Kassube <vim-mac-egroups-wrapper@...>
Date: Fri Aug 18, 2000 10:55 am
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
rlink@... (Robert Link) wrote:

> How can I open a file from the command line without typing the entire
> path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If

You can :cd to your work directory, e.g.

     :cd Macintosh HD:Desktop Folder

File name completion via Tab works fine for me, at least in
the current directory.

Cheers,
Nils
--
nika@...                       | nika@... (preferred)
4kassube@... | nika@...

#100 From: Robert Link <rlink@...>
Date: Fri Aug 18, 2000 2:00 pm
Subject: Re: PWD?
rlink@...
Send Email Send Email
 
Thanks to Benji, Eugene and Nils!

:cd to the desired working directory works fine, at least when all the
needed files are in one directory.  I didn't think to try it, I think this
was because I don't think of that as something vim does, but rather as
something bash does---perhaps I'm a bit over my head technically.  Tab
completion also works fairly well.  As for the drag-and-drop, I have an
icon on my desktop for just that reason, but my whole love for vi(m) is
avoiding the mouse, keeping my fingers on their appointed keys.


I'd be interested to try the Tcl mentioned by Eugene and the utility
metnioned by Benji.
--
Robert Link

#101 From: vim-mac-egroups-wrapper@...
Date: Mon Aug 21, 2000 10:27 am
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
> How can I open a file from the command line without typing the entire
> path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If
> there's a good faq for this kind of thing, feel free to point me to
> it.  Thanks!

Do you want to open the file from the MPW commandline or from the Vim
comandline?

On the Vim commandline you can cd to the path of the current document,
after that :e looks in this folder and below.

You can use an autocommand like the one shown im macvimrc:
autocmd VimEnter * if strlen(@%) != 0 | cd %:p:h | endif

Axel
--
There is nothing left to try
There is nothing left to choose
There is no greater power
Then the power of VI

#102 From: "H. Eckert" <vim-mac-egroups-wrapper@...>
Date: Fri Aug 18, 2000 11:11 pm
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Quoting Eugene Lee (eugene@...):
> Command lines don't exist on a regular Mac system.  I've played with a
> Tcl shell from the Mac Tcl/Tk distribution that offers a few functions
> for a very *very* basic shell, but nothing like a modern Unix shell.

Well, once again time to mention MPW, I guess :-)
But you're right, on a regular Mac there is no MPW installed...

The MPW scripting language offers about the same features as a
Bourne shell on a Unix machine.  The command names differ and
for certain features MPW makes use of special characters present
in the Mac character encoding...

I don't think MPW offers a proper terminal emulation to the tools
otherwise having an adaption of vim as an MPW tool would be a
very weird but probably even useful thing to have :-)
(Keep in mind that MPW is a combination of an editor and a
command line with scripting.  It might be compared somewhat to
emacs if your scripting and command line language was lisp...)

> Now if you wanna open a text file with Vim whose file creator isn't set
> to "VIM!", the easiest thing to do is to drag your text file onto the
> VimPPC icon directly, or indirectly on an alias or a launcher app.

Well, wouldn't it be straightforward (from a user's point of view)
if Vim would take the file's directory as the current directory if
Vim is started by drag'n'drop ?


Greetings,
				 Ripley
--
H. Eckert, 10777 Berlin, Germany, http://me.in-berlin.de/~nostromo/
ISO 8859-1: Ä=Ae, Ö=Oe, Ü=Ue, ä=ae, ö=oe, ü=ue, ß=sz.
"(Technobabbel)" (Jetrel) - "Müssen wir uns diesen Schwachsinn wirklich
anhören?" (Neelix)

#103 From: Sven Guckes <vim-mac-egroups-wrapper@...>
Date: Mon Aug 21, 2000 12:09 pm
Subject: Re: PWD? -> :browse ?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
* Robert Link <rlink@...> [000817 13:11]:
> How can I open a file from the command line
> without typing the entire path name?

   :e file            workdir  filename
   :e ../dir/file     relative filename
   :e /path/dir/file  absolute filename

> I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.
> If there's a good faq for this kind of thing,
> feel free to point me to it.

   :help editing.txt
   :help :browse

Sven

#104 From: Leedsnet <vim-mac-egroups-wrapper@...>
Date: Fri Aug 18, 2000 11:46 am
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
At 02:11 PM 8/17/00, Robert Link wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>How can I open a file from the command line without typing the entire
>path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If
>there's a good faq for this kind of thing, feel free to point me to
>it.  Thanks!
>- --


Are you writing as a developer or a user?

I guess that

:e SomeFile.txt

is not doing what you want or what you expect.

Is there a variety of

:browse confirm e

that could help you at least temporarily?

Mac applications should have a 'working directory' & there are details
in Inside Mac on how to manipulate it using old and new calls. This is not
a perfect system as the Mac identifies files using alias records or
a volume/DirID/File triple.

Ben.



--
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/ >

#105 From: Eugene Lee <vim-mac-egroups-wrapper@...>
Date: Mon Aug 21, 2000 4:58 pm
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
On Sat, Aug 19, 2000 at 01:11:54AM +0200, H. Eckert wrote:
: Quoting Eugene Lee (eugene@...):
:
: > Now if you wanna open a text file with Vim whose file creator isn't set
: > to "VIM!", the easiest thing to do is to drag your text file onto the
: > VimPPC icon directly, or indirectly on an alias or a launcher app.
:
: Well, wouldn't it be straightforward (from a user's point of view)
: if Vim would take the file's directory as the current directory if
: Vim is started by drag'n'drop ?

Actually, I've modified my .vimrc so that when Vim starts up with a
file, it also changes to that file's directory.  If it starts up without
a file, then it changes to the desktop folder/directory.


--
Eugene Lee
eugene@...

#106 From: vim-mac-egroups-wrapper@...
Date: Wed Aug 23, 2000 9:33 pm
Subject: Re: PWD?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
> rlink@... (Robert Link) wrote:
>
> > How can I open a file from the command line without typing the entire
> > path name?  I'm using vimppc 5.7.9 on a revC iMac, sys8.5.1.  If
>
> You can :cd to your work directory, e.g.
>
>     :cd Macintosh HD:Desktop Folder
>
> File name completion via Tab works fine for me, at least in
> the current directory.

File name completion has problems when there is a space in the path.

But you can always use
:browse e
to get a file-selector.

Axel

#107 From: Robert Link <vim-mac-egroups-wrapper@...>
Date: Thu Aug 31, 2000 1:43 am
Subject: can I change the display font?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've got my monitor settings set such that the defaults in vimppc are
just too small.  Can I use other fonts (if so, how) or should I give
up and go back to 800x600 on the monitor?  Thanks!!
- --
RLink

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOa24SoHvG1x/HQ+LEQK+/QCg9Mf5aCoG1HXhjCT8Ypa6FcfeBJIAoPyE
5mIkUivokljYyHixXAPYtiF7
=2304
-----END PGP SIGNATURE-----

#108 From: Benji Fisher <vim-mac-egroups-wrapper@...>
Date: Thu Aug 31, 2000 2:40 pm
Subject: Re: can I change the display font?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
Robert Link wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've got my monitor settings set such that the defaults in vimppc are
> just too small.  Can I use other fonts (if so, how) or should I give
> up and go back to 800x600 on the monitor?  Thanks!!

      I tried

:set guifont

and vimppc told me "guifont=courier:h12" so I tried

:set guifont=courier:h14

and it worked fine.  If you can figure out what other fixed-width fonts
you have installed, you should be able to use any of them.  On other platforms,

:set guifont=*

brings up a window for choosing a font, but this does not seem to be
implemented on the mac.  If you care, various people have
recommendations for where to find other fixed-width fonts, but Courier
is good enough for me.

HTH 			 --Benji Fisher

#109 From: Eugene Lee <vim-mac-egroups-wrapper@...>
Date: Thu Aug 31, 2000 8:34 pm
Subject: Re: can I change the display font?
vim-mac-egroups-wrapper@...
Send Email Send Email
 
On Thu, Aug 31, 2000 at 10:40:31AM -0400, Benji Fisher wrote:
:
: Robert Link wrote:
: >
: > I've got my monitor settings set such that the defaults in vimppc are
: > just too small.  Can I use other fonts (if so, how) or should I give
: > up and go back to 800x600 on the monitor?  Thanks!!

[...]

: If you care, various people have
: recommendations for where to find other fixed-width fonts, but Courier
: is good enough for me.

I recommend getting ProFont.  It's a replacement for Courier, and it is
much more programmer-friendly (e.g. zeroes have slashes, capital 'i' has
wider horizonal bars and is easier to distinguish from '1').


--
Eugene Lee
eugene@...

#110 From: Robert Link <rlink@...>
Date: Sun Sep 3, 2000 5:14 pm
Subject: Re: can I change the display font?
rlink@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks all for the tips; even using ProFont 24 the text is pretty
small.
- --
Robert Link

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBObKG14HvG1x/HQ+LEQId1wCfVwO11ia18wfJyRlcAMPzBzjbfdYAniUd
BoeDQxJWcQW0WeCp3lMEUF62
=rNP9
-----END PGP SIGNATURE-----

#111 From: ammon@...
Date: Sat Sep 30, 2000 3:31 am
Subject: Mac-VIM Source
ammon@...
Send Email Send Email
 
What's the best way to get the source code to VIM?  I'd like to make
some tweaks to the mac compile.

The page <http://www.vim.org/cvs.html> suggests that CVS is the way,
though I get a 403 "Forbidden" error when I try to access
<http://cvs.vim.org/>.

While I'm at it, there's a behaviour of macvim that's annoying: when
I launch vim with a file to open (ie drag anbd drop a file over vim
and have vim launch) it makes me press return before opening it.  Why
does it do this?

thanks,
-Ammon

#112 From: Ammon Skidmore <ammon@...>
Date: Sat Sep 30, 2000 8:04 pm
Subject: Re: Mac-VIM Source
ammon@...
Send Email Send Email
 
>What's the best way to get the source code to VIM?  I'd like to make
>some tweaks to the mac compile.

To answer my own question, I needed to get the vim-5.7-extra.tar.gz
from the ftp site and compile that against the general sources (which
I got from the Unix 5.7 dist).  It compiles fine under CW 5 (I
haven't cleared enuf disk space to install CW6 yet).  The CVS web
page is still broken tho.

Now I'm wondering if there has been any development of mac-vim
lately.  Is the code in the "Vim 5.7.9" binary I saw linked off
versiontracker.com the same as the project I just built with the 5.7
sources?  If I make a useful change to VIM, who do I contact to get
the changes committed to the CVS database?

sincerely, a vim lover,
-Ammon
--
Skidperfect Software 	 <http://www.skidperfect.com/>

Messages 83 - 112 of 13695   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help