This blog moved to medium->https://medium.com/@cocoamaemae

Saturday, September 3, 2016

Hot install vim plug-ins by using dein

# After dein install is done, set dein to .vimrc. 
Regarding dein install, refer the blow.
https://cocoamaemae-tec-diary.blogspot.jp/2018/01/how-to-install-dein-for-vim-plugin.html

OS: Linux(Debian, Ubuntu, RHEL, CentOS or etc)

# Add the blow sample to $HOME/.vimrc



dein configuration sample
# Please attach the blow to $HOME/.vimrc

" dein setting
if &compatible
set nocompatible
endif
set runtimepath+=~/.dein/repos/github.com/Shougo/dein.vim

call dein#begin('~/.vim')

" Write plug-ins you want to install
call dein#add('~/.dein/repos/github.com/Shougo')
call dein#add('tpope/vim-fugitive')
call dein#add('vim-scripts/vim-auto-save')
call dein#add('vim-scripts/grep.vim')
call dein#end()

" You can add more plug-ins
call dein#save_state()

filetype plugin indent on
syntax enable

" auto save
let g:auto_save = 1



# After .vimrc is set, execute dein install on vim command mode.
:call dein#install()




No comments:

Post a Comment

Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...