diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-29 21:18:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-29 21:18:24 +0000 |
commit | e2f98b95c8071f772695602cd4f714dc588eb8e7 (patch) | |
tree | 28442f952f7e5258e2addd8871a4a2930e768c0a /runtime/doc/os_mac.txt | |
parent | 86ca6e3b8c9c5d909421eb5abc2d81e02d402b49 (diff) | |
download | vim-git-e2f98b95c8071f772695602cd4f714dc588eb8e7.tar.gz |
updated for version 7.0c03v7.0c03
Diffstat (limited to 'runtime/doc/os_mac.txt')
-rw-r--r-- | runtime/doc/os_mac.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/doc/os_mac.txt b/runtime/doc/os_mac.txt index 5db60857a..137306be4 100644 --- a/runtime/doc/os_mac.txt +++ b/runtime/doc/os_mac.txt @@ -1,4 +1,4 @@ -*os_mac.txt* For Vim version 7.0c. Last change: 2006 Mar 26 +*os_mac.txt* For Vim version 7.0c. Last change: 2006 Mar 29 VIM REFERENCE MANUAL by Bram Moolenaar et al. @@ -86,6 +86,14 @@ A: Assuming that Vim.app is located in /Applications: Or: /Applications/Vim.app/Contents/MacOS/Vim -g {arguments} +Q: How can I set $PATH to something reasonable when I start Vim.app from the + GUI or with open? +A: The following trick works with most shells. Put it in your vimrc file. + This is included in the system vimrc file included with the binaries + distributed at macvim.org . > + let s:path = system("echo echo VIMPATH'${PATH}' | $SHELL -l") + let $PATH = matchstr(s:path, 'VIMPATH\zs.\{-}\ze\n') + ============================================================================== 4. Mac Lack *mac-lack* |