blob: c2102bfc021e4a3af7195082478b378ebdf7457d [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001*os_mac.txt* For Vim version 7.0aa. Last change: 2004 Apr 27
2
3
4 VIM REFERENCE MANUAL by Bram Moolenaar et al.
5
6
7 *mac* *Mac* *macintosh* *Macintosh*
8
9This file documents the particularities of the Macintosh version of Vim.
10
11NOTE: This file is a bit outdated. You might find more useful info here:
12 http://macvim.swdev.org/
13
141. Filename Convention |mac-filename|
152. .vimrc an .vim files |mac-vimfile|
163. FAQ |mac-faq|
174. Known Lack |mac-lack|
185. Mac Bug Report |mac-bug|
196. Compiling Vim |mac-compile|
20
21There was a Mac port for version 3.0 of Vim. Here are the first few lines
22from the old file:
23
24VIM Release Notes
25Initial Macintosh release, VIM version 3.0
2619 October 1994
27
28Eric Fischer
29<enf1@midway.uchicago.edu>, <eric@jcp.uchicago.edu>, <etaoin@uchicago.edu>
305759 N. Guilford Ave
31Indianapolis IN 46220 USA
32
33==============================================================================
341. Filename Convention *mac-filename*
35
36You can use either the unix or mac path separator or a mix of both. In order
37to determine if the specified filename is relative to the current folder or
38absolute (i.e. relative to the "Desktop"), the following algorithm is used:
39
40 If the path start by a "/", the path is absolute
41 If the path start by a ":", the path is relative
42 If the path doesn't start by neither a "/" nor ":",
43 and a ":" is found before a "/" then the path is absolute
44>
45 :e /HD/text
46 :e HD:text
47< Edit the file "text" of the disk "HD" >
48 :e :src:main.c
49 :e src/main.c
50< Edit the file "main.c" in the folder "src" in the current folder >
51 :e os_mac.c
52< Edit the file "os_mac.c" in the current folder.
53
54You can use the |$VIM| and |$VIMRUNTIME| variable. >
55
56 :so $VIMRUNTIME:syntax:syntax.vim
57
58==============================================================================
592. .vimrc and .vim files *mac-vimfile*
60
61On the Mac files starting with a dot "." are discouraged, thus the rc files
62are named "vimrc" or "_vimrc" and "gvimrc" or "_gvimrc". These files can be in
63any format (mac, dos or unix). Vim can handle any file format when the
64|'nocompatible'| option is set, otherwise it will only handle mac format
65files.
66
67==============================================================================
683. Mac FAQ *mac-faq*
69
70Q: I can't enter non-ASCII character in Apple Terminal.
71A: Under Window Settings, Emulation, make sure that "Escape non-ASCII
72 characters" is not checked.
73
74==============================================================================
754. Mac Lack *mac-lack*
76
77-The filenames containing both ":" and "/" are sometimes misinterpreted.
78 (just re-execute the command)
79-Scrollbar are not scrolling live, and when only the arrow or scroll area,
80 a limit of 32 line or page is scrolled.
81-Syntax highlighting works on 68k Macs but is _really_ slow.
82
83==============================================================================
845. Mac Bug Report *mac-bug*
85
86When reporting any Mac specific bug or feature change, please use the vim-mac
87maillist |vim-mac|. However, you need to be subscribed. An alternative is to
88send a message to the current MacVim maintainers:
89
90 mac@vim.org
91
92==============================================================================
936. Compiling Vim *mac-compile*
94
95See the file "src/INSTALLmac.txt" that comes with the source files.
96
97
98 vim:tw=78:ts=8:ft=help:norl: