diff options
author | Daniel Maslowski | 2016-03-19 22:46:07 +0100 |
---|---|---|
committer | Daniel Maslowski | 2016-03-19 22:46:07 +0100 |
commit | bef49b1f26c829c8591b0f0a131267a40d2ec94d (patch) | |
tree | c428145d340777930af97b2662c0f39d88da24ba /vim-dein-git.install | |
download | aur-bef49b1f26c829c8591b0f0a131267a40d2ec94d.tar.gz |
Initial commit
Diffstat (limited to 'vim-dein-git.install')
-rw-r--r-- | vim-dein-git.install | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vim-dein-git.install b/vim-dein-git.install new file mode 100644 index 000000000000..2fc743e6cbd1 --- /dev/null +++ b/vim-dein-git.install @@ -0,0 +1,35 @@ +function post_install { + echo " +To use dein, put the following into ~/.vimrc or ~/.config/nvim/init.vim: + +if &compatible + set nocompatible +endif +filetype off +\" append to runtime path +set rtp+=/usr/share/vim/vimfiles +\" initialize dein, plugins are installed to this directory +call dein#begin(expand('~/.cache/dein')) +\" add packages here, e.g: +call dein#add('qwelyt/TrippingRobot') +\" exit dein +call dein#end() +\" auto-install missing packages on startup +if dein#check_install() + call dein#install() +endif +filetype plugin on + +See the documentation at https://github.com/Shougo/dein.vim for more details. +" +} + +function post_upgrade { + post_install +} + +function post_remove { + echo " +Remember to remove dein calls from ~/.vimrc or ~/.config/nvim/init.vim for cleanup. +" +} |