LoginSignup
16
13

More than 5 years have passed since last update.

windows vim 開発環境構築メモ(gvim + neobundle)

Last updated at Posted at 2015-12-20

Git インストール

私家版 Git For Windowsのインストール手順

gvim, neobundleのインストール

Windowsでgvimを使う(neobundleのインストール)

gvimダウンロード
$ mkdir %userprofile%\.vim\bundle
$ cd %userprofile%\.vim\bundle
$ git clone git://github.com/Shougo/neobundle.vim
$ cd %userprofile%

_vimrcファイルを作成。

_vimrcファイル作成
vim _vimrc 

_vimrcを以下のように修正。

本家 URL
required: となっているところは必要な処理なので、変更する場合は注意してください。

_vimrc修正
:source $VIMRUNTIME/mswin.vim
 " Note: Skip initialization for vim-tiny or vim-small.
 if 0 | endif

 if has('vim_starting')
   if &compatible
     set nocompatible               
   endif

   " Required:
   set runtimepath+=~/.vim/bundle/neobundle.vim/
 endif

 " Required:
 call neobundle#begin(expand('~/.vim/bundle/'))

 " NeoBundle 設定
 " Required:
 NeoBundleFetch 'Shougo/neobundle.vim'

 " My Bundles here:
 " Refer to |:NeoBundle-examples|.
 " Note: neobundle の設定を.gvimrcに書かないこと!

 " ここに追加したいプラグインを追加します。 
NeoBundle 'https://github.com/Shougo/neocomplcache.git'
NeoBundle 'https://github.com/Shougo/unite.vim.git'
NeoBundle 'https://github.com/Shougo/vimshell.git'

 call neobundle#end()

 " Required:
 filetype plugin indent on

 " If there are uninstalled bundles found on startup,
 " this will conveniently prompt you to install them.
 NeoBundleCheck

NeoBuundle コマンド

NeoBuundleコマンド
:NeoBundleInstall :インストール
:NeoBundleUpdate :アップデート
:NeoBundleClean :削除

プラングイン説明

Wiki

参考

16
13
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
13