Skip to content

Instantly share code, notes, and snippets.

@watagashi watagashi/.vimrc
Last active Jun 13, 2017

What would you like to do?
vim-plug 自身を Windows でも macOS でも自動インストール ref:
let s:vimfiles = expand('<sfile>:p:h')
let s:plugvim = s:vimfiles . '/autoload/plug.vim'
if empty(glob(s:plugvim))
execute "silent !curl -fLo " . s:plugvim . " --create-dirs "
\ . ""
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
if !empty(glob(s:plugvim))
call plug#begin(s:vimfiles . '/plugged')
” インストールしたいプラグインを列挙 (以下は一例)
Plug 'twitvim/twitvim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" ...
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.