VIM for Macintosh - MacVim
VIM has been ported to the Apple Macintoshs, too:
MacVim
MacVim - Vim for MacOS - News
- 020209: Vim-6.0.222 binaries
- Benji Fisher has announced his Carbon version at his site:
http://homepage.mac.com/fisherbb/index.html
- 000727: Vim-5.7 binaries
- The
Japanese MacVim page
now has binaries for Vim-5.7.
These are available with and without multibyte support.
- 000524: MacVim on VersionTracker.com
- MacVim-5.6.72 is now know by VersionTracker.com:
-
http://www.versiontracker.com/moreinfo.fcgi?id=2686
- 000509: Japanese MacVim
-
Kenichi Asai has released a
Japanese version of MacVim.
- 000320: MacVim-5.6 released.
-
The files are available from every vim ftp mirror.
The master site is:
-
ftp://ftp.vim.org/pub/vim/mac/
SIZE FILE CONTENTS
1688291 vim5.6.full.fat.sit Vim 5.6, FAT application + runtime files
298138 vim5.6.68k.sit Vim 5.6, 68k application only
624790 vim5.6.fat.sit Vim 5.6, FAT application only
333697 vim5.6.ppc.sit Vim 5.6, PowerPC application only
- NOTEs:
You will need the StuffItExpander
to unpack the StuffIt ("sit") files.
- For more info see page
-
http://www3.sympatico.ca/dany.stamant/vim/
MacVim - Distribution
MacVim is available from every ftp mirror.
The files are in the subdiretory "mac".
However, there are four sites with updated binaries:
Hopefully, all four versions will hopefully merge into *the* MacVim again soon.
Then you should be able to download *the* MacVim from *any* Vim mirror.
Until then, please choose yourself which version you would like to use.
Problems?
If you find a problem with either release
then please give a reference to the version you use!
Check with command :version first and
include the info in your requests. Thankyou!
Example version info:
:ver
VIM - Vi IMproved 5.7 (2000 Jun 24, compiled Jun 26 2000 19:09:11)
Compiled by guckes@ritz, with (+) or without (-):
As I currently have no access to MacOS so I cannot try the latest version.
So I am hoping for feedback on the MacVim Goals
as described below.
Have these things been implemented or fixed yet?
Thank you for all feedback!
MacVim FAQs
- MacVim Development Requirements
-
Q: What do I need to take part in coding the Mac port of Vim?
-
A:
- MacVim Defaults
-
Q: What is the default configuration for Vim on Macs?
-
A: The default configuration for MacVim currently [980302] is:
+autocmd + required for syntax highlighting
-builtin_terms - no terminals on Macs
+cindent + for using vim for coding vim :-)
+digraphs + us Krauts need it for umlauts
-emacs_tags - anyone writing in Lisp here?
+eval + especially useful for use of strftime
+ex_extra + :normal, :retab
+extra_search + hlsearch and incsearch are quite useful
-farsi - not so many speaking Farsi here
+file_in_path + command "gf" is too useful to drop it
-find_in_path ? anyone using this?
-fork() - [Unix only]
+GUI + Menus+
+insert_expand + cannot live without completion in insert mode
-langmap - anyone using this at all?
-lispindent - no emacs user here
-mouse_dec - [Unix only]
-mouse_netterm - [Unix only]
-mouse_xterm - [Unix only]
-perl - too much for now
-quickfix - too much for now
-python - too much for now
-rightleft - anyone writing in Hebrew here?
+showcmd + cannot live without it
+smartindent + too useful to drop it
-sniff - noone using it, I suppose
+syntax +++ the best feature is a must+
-tag_binary ? anyone?
-tag_old_static ? anyone?
-tag_any_white ? anyone?
-terminfo - [Unix only]
+textobjects + cannot live without it
+viminfo + Quite useful, too.
-xterm_save - [Unix only]
+writebackup + too useful to drop it
-X11 - [Unix only]
MacVim - Development Goals
- Port to MPW [000519]
- Port Vim for use with Apple's MPW compiler.
-
From: Axel Kielhorn
Date: Wed, 10 May 2000 16:26:58 +0200
Apple *does* supply a free compiler, the MPW tools.
The problem is that Vim isn't ported to this compiler,
it requieres CodeWarrior.
If someone wants to compile a MacVim without paying lots of money to
Metrowerks, please download the compiler and port Vim to it. It shouldn't
be that difficult and would make life much easier for everyone. (There is a
reall make available in the MPW tools, no need to rely on strange binary
files that change with every release of CodeWarrior).
And you can get Perl, TCL and Python for the Mac as well.
Q: What has been done already with the code?
A:
Completed Items [980221]
- MacOS - memory management: Replacement of malloc/free by NewPtr/DisposePtr
- MacOS - creator resource "VIM!"
- MacOS - clipboard support: clipboard can be used with register name '*'
- Startup: Screen opens on top left position.
- Startup: Automatically sourcing of $VIM:menu.vim
- command ":version": now shows OS name in second row ("MacOS version")
- Startup:
$VIM defaults to the folder of the application "vim",
but if this path ends in ":src" then the above folder is used.
- Startup - setup file search:
The setup filenames starting with a dot
take precedence over those starting with an underscore.
The setup file for Vi is tried first (exrc),
then those for Vim (vimrc) and then for the Gvim:
So the order is: .exrc, _exrx, .vimrc, _vimrc, .gvimrc, _gvimrc
However, the command ":mkvimrc" should create "_vimrc" or "_gvimrc".
Q: Which features should be implemented next?
A:
"I'd like to participate in the development."
Q: How should I name my version of
A: Please make your version available like this:
Format: vim-5-yymmdd-68k-appl.sit.bin
yy = year mm = month dd = day
Example: vim-5-980406-68k-appl.sit.bin
only the application for 68k Macs,
stuffed and in binary format.
Example: vim-5-980623-PPC-src.sit.hqx
only for PPC, but the complete source,
stuffed and binhexed
Example: vim-5-980623-FAT-src.sit.hqx
the source with binaries for both 68k and PPC Macs,
stuffed and binhexed
Q: What further goals are there for the mac port?
A:
Further goals
- About Box
- Save as...: support for "styles"
- Convert between "styles" and "syntax coloring"
- Documentation: Add list of URLs for monospaced fonts
- File:Print...
- Maclike: Allow command-. and control-c to abort processing.
- Maclike: Resource file to keep "viminfo" in. [980618]
- Make Vim a plugin editor for CodeWarrior. [990210]
- Default folder for tempfiles: "Volume:Temporary Items:"
- Make vim an IDE for CodeWarrior.
Dany sent a suggestion for an IDE menu to the list [990210].
Ideas
- Bundle Vim with set of monospaced fonts
- Bundle ultrashort beep sound!
- Make Vim a PowerPlant application?
- Use WASTE lib?
- Preferences File (see below)
Problems
- Setup files must be in Unix or Dos format.
Mac format should be made possible, too. [990210]
- Setup files must be in the same folder as the application.
Should be possible to put them into the Preferences folder, too. [990210]
- syntax coloring takes *very* long, vene for small files - why?
- Startup: Window is not displayed
- Display: Font does not get drawn properly
- Fonts: Cannot use font names which include a space
- Format: The tags file mus be in Mac format (fileformat=mac)
- filename completion: doesn't work for unix-like path
- filename completion: doesn't work for volume name
- filename completion: doesn't work for a volume different of the current one.
[workaround: Use ":cd volume" before using filename completion on that volume]
Drag and Drop DONE (+) and TODO (-)
- + open file by dropping onto application icon
- - open file by dropping onto open window
- + select text within open window
- - drag selected text onto desktop creates textfile
Menus - Default Structure:
File:
OpenFile... Cmd-o Open (:edit) file
Save Cmd-s Save current buffer to current file
SaveAs... Cmd-S Save current buffer to file
Close Cmd-w Closes current subwindow
Print... Cmd-p Prints current buffer
Quit Cmd-q Quits Vim
Edit:
Undo Cmd-z Undo last change (deletion/insertion)
Redo Redo last change
Cut Cmd-x Delete current selected (visual) text
Copy Cmd-c Copy current selected (visual) text to clipboard
and to the unnamed buffer, too, of course
Paste Cmd-v Like 'p' to "put"
Clear
Search Backward
for current word
for current filename
Search Forward
for current word
for current filename
Preferences:
- Show splash screen (if ever)
- Show About box on startup
- Position of startup window
- Font
Vim for MacOS - Known Bugs / Specific Stuff
- MacVim vs DiskLock [000519]
- DiskLock is a security application which prevents
(amongst other things) creation of files by applications.
-
It seems that DiskLock prevents MacVim from creating swapfiles.
-
From: Ben Fowler
Date: Fri, 12 May 2000 13:21:09 +0100
The Power On software web site acknowledges
a bug in an earlier version that meant that
files beginning with '.' could not be opened.
-
As with DOS, some characters are different on the Mac:
char name hex
(«) forward quote ab
(`) backward quote 60
(') quote 27
This can be quite annoying. Unfortunately, there seems to be no way to
"switch the character set" easily within Vim.
You will simply have to install some fonts on your Mac for
"PC character set" and "Unix character set".
Does anyone know of some good ones?
Vim for Mac - Links
- Document Icons [011204]
-
http://mac.douglas.stebila.ca/code/vim/
- Some document icons for the Mac.
- Author: Douglas Stebila [email protected]
- Nostalgia: vim-3 for Mac
- The filename is vim-30.hqx.gz [Size: 271,212 bytes].
-
ftp://ftp.fu-berlin.de/mac/mirrors/info-mac/text/vim-30.hqx
- Porter: Eric Fischer [email protected]
(the address [email protected] is obsolete)
[email protected]
- Eric offers his port with a link from his Software page:
-
http://www.pobox.com/~enf/sw.html
- http://ars-www.uchicago.edu/~eric/sw.html [obsolete]
Mac Utilities
- Fonts [000403]
- Suggested Fonts for use with MacVim:
Courier:h10 (standard font)
Monaco:h9 (standard font)
MPW:h9 (bundled with MPW and CodeWarrior)
Mishawaka:h9 (bundled with Eudora)
ProFont-2.2 - available on every InfoMac mirror
in subdir "font" as "pro-font-NN.hqx", eg:
ftp://mirror.aol.com/pub/info-mac/font/pro-font-22.hqx
Size of package: 460K (469182 bytes).
- MacsBug [000519]
-
http://developer.apple.com/tools/debuggers/MacsBug/
-
Get this tool to get some info
if applications fail on your Mac.
- MacTar [000808]
-
http://www.strout.net/macsoft/mactar/
-
"This is a MacOS port of "tar" (tape archive),
a common file-packing format used on Unix machines.
This program reads and writes tar format archives."
- StuffIt [000808]
- [todo]
URL: http://www.math.fu-berlin.de/~guckes/vim/macs.html
URL: https://www.vim8.org/macs.html (mirror)
Created: Sun Jun 16 00:00:00 MET 1996
Send feedback on this page to
Sven Guckes
[email protected]