annotate runtime/doc/os_mac.txt @ 354:be0f21f63d2c v7.0091

updated for version 7.0091
author vimboss
date Thu, 23 Jun 2005 22:39:27 +0000
parents 4707450c2b33
children 82ef0c58b012
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 39
diff changeset
1 *os_mac.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Bram Moolenaar et al.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 *mac* *Mac* *macintosh* *Macintosh*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 This file documents the particularities of the Macintosh version of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 NOTE: This file is a bit outdated. You might find more useful info here:
19
a81bc802c17c updated for version 7.0011
vimboss
parents: 9
diff changeset
12 http://macvim.org/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 1. Filename Convention |mac-filename|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 2. .vimrc an .vim files |mac-vimfile|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 3. FAQ |mac-faq|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 4. Known Lack |mac-lack|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 5. Mac Bug Report |mac-bug|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 6. Compiling Vim |mac-compile|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 There was a Mac port for version 3.0 of Vim. Here are the first few lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 from the old file:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 VIM Release Notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 Initial Macintosh release, VIM version 3.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 19 October 1994
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Eric Fischer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 <enf1@midway.uchicago.edu>, <eric@jcp.uchicago.edu>, <etaoin@uchicago.edu>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 5759 N. Guilford Ave
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 Indianapolis IN 46220 USA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 1. Filename Convention *mac-filename*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 39
diff changeset
36 You can use either the unix or mac path separator or a mix of both. In order
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 to determine if the specified filename is relative to the current folder or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 absolute (i.e. relative to the "Desktop"), the following algorithm is used:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 If the path start by a "/", the path is absolute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 If the path start by a ":", the path is relative
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 If the path doesn't start by neither a "/" nor ":",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 and a ":" is found before a "/" then the path is absolute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 :e /HD/text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 :e HD:text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 < Edit the file "text" of the disk "HD" >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 :e :src:main.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 :e src/main.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 < Edit the file "main.c" in the folder "src" in the current folder >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 :e os_mac.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 < Edit the file "os_mac.c" in the current folder.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 You can use the |$VIM| and |$VIMRUNTIME| variable. >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 :so $VIMRUNTIME:syntax:syntax.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 2. .vimrc and .vim files *mac-vimfile*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 On the Mac files starting with a dot "." are discouraged, thus the rc files
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 39
diff changeset
62 are named "vimrc" or "_vimrc" and "gvimrc" or "_gvimrc". These files can be in
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 any format (mac, dos or unix). Vim can handle any file format when the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 |'nocompatible'| option is set, otherwise it will only handle mac format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 3. Mac FAQ *mac-faq*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 Q: I can't enter non-ASCII character in Apple Terminal.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 A: Under Window Settings, Emulation, make sure that "Escape non-ASCII
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 characters" is not checked.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
74 Q: How do I start the GUI from the command line?
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
75 A: Assuming that Vim.app is located in /Applications:
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
76 open /Applications/Vim.app
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
77 Or:
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
78 /Applications/Vim.app/Contents/MacOS/Vim -g {arguments}
410fa1a31baf updated for version 7.0023
vimboss
parents: 19
diff changeset
79
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 4. Mac Lack *mac-lack*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
9
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
83 The filenames containing both ":" and "/" are sometimes misinterpreted. (just
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
84 re-execute the command)
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
85
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
86 Scrollbar are not scrolling live, and when only the arrow or scroll area, a
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
87 limit of 32 line or page is scrolled.
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
88
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
89 Syntax highlighting works on 68k Macs but is _really_ slow.
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
90
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
91 In a terminal CTRL-^ needs to be entered as Shift-Control-6. CTRL-@ as
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
92 Shift-Control-2.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 5. Mac Bug Report *mac-bug*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 When reporting any Mac specific bug or feature change, please use the vim-mac
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 maillist |vim-mac|. However, you need to be subscribed. An alternative is to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 send a message to the current MacVim maintainers:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 mac@vim.org
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 6. Compiling Vim *mac-compile*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 See the file "src/INSTALLmac.txt" that comes with the source files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 vim:tw=78:ts=8:ft=help:norl: