Last active
December 20, 2015 09:59
-
-
Save koron/6112116 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scriptencoding utf-8 | |
" ユーザ設定ファイル(~/.gvimrc)を作成すると、デフォルトの設定はすべて読み込まれ | |
" なくなります。それらが必要ならばユーザ設定ファイルの先頭に | |
" | |
" source $VIM/gvimrc_recommend.vim | |
" | |
" と記載してください。 | |
" | |
if has('win32') && (filereadable(expand('~/_gvimrc')) || filereadable(expand('~/vimfiles/gvimrc'))) | |
finish | |
elseif filereadable(expand('~/.gvimrc')) || filereadable(expand('~/.vim/gvimrc')) | |
finish | |
elseif has('win32') && (filereadable(expand('~/_vimrc')) || filereadable(expand('~/vimfiles/vimrc'))) | |
finish | |
elseif filereadable(expand('~/.vimrc')) || filereadable(expand('~/.vim/vimrc')) | |
finish | |
else | |
" おすすめ設定(GUI専用)を読み込む | |
source $VIM/gvimrc_recommend.vim | |
endif | |
" vim:set ts=8 sts=2 sw=2 tw=0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scriptencoding utf-8 | |
" ユーザ設定ファイル(~/.vimrc)を作成すると、デフォルトの設定はすべて読み込まれ | |
" なくなります。それらが必要ならばユーザ設定ファイルの先頭に | |
" | |
" source $VIM/vimrc_recommend.vim | |
" | |
" と記載してください。 | |
set nocompatible | |
set iminsert=0 imsearch=0 | |
if has('win32') && (filereadable(expand('~/_vimrc')) || filereadable(expand('~/vimfiles/vimrc'))) | |
finish | |
elseif filereadable(expand('~/.vimrc')) || filereadable(expand('~/.vim/vimrc')) | |
finish | |
else | |
" おすすめ設定(CUI/GUI共通)を読み込む | |
source $VIM/vimrc_recommend.vim | |
endif | |
" vim:set ts=8 sts=2 sw=2 tw=0: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment