opt/localにあるMacport経由でVim 7.3をインストールした場合、私のvim/vimrcファイルはusr/localにある私のホームフォルダで動作しますか? FYI私のオペレーティングシステムは、MAC OSX 10.5を実行しているMacのです...Vimエディタの問題
1
A
答えて
1
あなたのホームフォルダはMac OS Xでは/Users/yourusername
または共通の短い形式~
です。したがって、ファイルを~/.vimrc
の下に置くと、それはvimによって選択されます。
0
タイプチェック部c
:
c. Four places are searched for initializations. The first that exists
is used, the others are ignored. The $MYVIMRC environment variable is
set to the file that was first found, unless $MYVIMRC was already set
and when using VIMINIT.
- The environment variable VIMINIT (see also |compatible-default|) (*)
The value of $VIMINIT is used as an Ex command line.
- The user vimrc file(s):
"$HOME/.vimrc" (for Unix and OS/2) (*)
"s:.vimrc" (for Amiga) (*)
"home:.vimrc" (for Amiga) (*)
"$VIM/.vimrc" (for OS/2 and Amiga) (*)
"$HOME/_vimrc" (for MS-DOS and Win32) (*)
"$VIM/_vimrc" (for MS-DOS and Win32) (*)
Note: For Unix, OS/2 and Amiga, when ".vimrc" does not exist,
"_vimrc" is also tried, in case an MS-DOS compatible file
system is used. For MS-DOS and Win32 ".vimrc" is checked
after "_vimrc", in case long file names are used.
Note: For MS-DOS and Win32, "$HOME" is checked first. If no
"_vimrc" or ".vimrc" is found there, "$VIM" is tried.
See |$VIM| for when $VIM is not set.
- The environment variable EXINIT.
The value of $EXINIT is used as an Ex command line.
- The user exrc file(s). Same as for the user vimrc file, but with
"vimrc" replaced by "exrc". But only one of ".exrc" and "_exrc" is
used, depending on the system. And without the (*)!
+0
これも役立ちます。ありがとうございました。 – demet8
関連する問題
- 1. WMDエディタの問題
- 2. htmlエディタの問題
- 3. Vimハイライトの問題
- 4. Vim | 'showmode'の問題
- 5. THREE.jsエディタのマウスホイールの問題
- 6. Matlabエディタの問題、バグ?
- 7. CKEditor(HTMLエディタ)の問題
- 8. 述語エディタの問題
- 9. 進エディタの問題ASP.NET MVC
- 10. rich:エディタ再レンダリングの問題
- 11. VIM点滅の問題
- 12. Vim - クイックフィックスウィンドウサイズの問題(ack.vim)
- 13. OmniCompleteとVimの問題
- 14. Vimのtextwidthコンマインデント問題
- 15. vimの補充問題
- 16. PythonスクリプトtempfileのVimエディタ
- 17. firefoxの2つのtinymceエディタの問題
- 18. ACEエディタの問題 - Webページがエディタの選択にジャンプする
- 19. マイナーGitの問題 - 変更デフォルトのエディタ
- 20. エディタのSlickgrid htmlエンティティの問題
- 21. Ubuntu 11.04でのVimのカラースキームの問題
- 22. 問題Mac上のvim-miscのとvimのセッションプラグインをインストール/ macvim
- 23. VIMとiTerm2での色の問題
- 24. tmux vimの表示括弧の問題
- 25. Cygwin/vim Windows 7ファイルアクセスの問題
- 26. vimプラグインのインストールに関する問題
- 27. VIMの前のポイントに戻るにはVIMエディタの
- 28. Vimの/他のエディタの一括編集
- 29. VIMエディタ:VIMでの自動書式設定の仕方
- 30. Pythonスクリプトのvimエディタでコードを書く
ありがとうございました。 – demet8