summarylogtreecommitdiffstats
path: root/vim-dein.install
blob: 2fc743e6cbd14a7cdf87aff0164bc2f7372b4612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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.
"
}