forked from nettrino/vimconf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.ps1
More file actions
21 lines (17 loc) · 1.38 KB
/
install.ps1
File metadata and controls
21 lines (17 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
refreshenv
# install packages
choco install -y ctags, vim, python
refreshenv
python -m pip install --upgrade pip
pip3 install jedi
cd ~
if(!(Test-Path -Path ~\.vim)){
git clone https://github.com/nettrino/vimconf.git .vim
md ~\.vim\autoload
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
(New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\.vim\autoload\plug.vim"))
}
cp _vimrc ~\_vimrc
vim +PlugInstall +qall