dotfiles/win/setup/vim.ps1

8 lines
411 B
PowerShell
Raw Normal View History

2021-01-13 15:20:59 +00:00
2021-02-26 10:12:32 +00:00
$dotfiles=(Get-Item $PSScriptRoot).Parent.Parent.FullName
2021-01-13 15:20:59 +00:00
if ( ! (Test-Path $Env:LOCALAPPDATA\nvim) ) {
New-Item -ItemType Directory -Path $Env:LOCALAPPDATA\nvim
}
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\cli\vim\init.vim -Path $Env:LOCALAPPDATA\nvim\init.vim
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\cli\vim\coc-settings.json -Path $Env:LOCALAPPDATA\nvim\coc-settings.json