1*os_mac.txt* For Vim version 7.0aa. Last change: 2004 Jul 19 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.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<[email protected]>, <[email protected]>, <[email protected]> 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 77The filenames containing both ":" and "/" are sometimes misinterpreted. (just 78re-execute the command) 79 80Scrollbar are not scrolling live, and when only the arrow or scroll area, a 81limit of 32 line or page is scrolled. 82 83Syntax highlighting works on 68k Macs but is _really_ slow. 84 85In a terminal CTRL-^ needs to be entered as Shift-Control-6. CTRL-@ as 86Shift-Control-2. 87 88============================================================================== 895. Mac Bug Report *mac-bug* 90 91When reporting any Mac specific bug or feature change, please use the vim-mac 92maillist |vim-mac|. However, you need to be subscribed. An alternative is to 93send a message to the current MacVim maintainers: 94 95 [email protected] 96 97============================================================================== 986. Compiling Vim *mac-compile* 99 100See the file "src/INSTALLmac.txt" that comes with the source files. 101 102 103 vim:tw=78:ts=8:ft=help:norl: 104