Fixes for windows

This commit is contained in:
Alex Yatskov 2021-01-18 11:50:02 -08:00
parent 7a1c4a9cf2
commit 61896c27af
4 changed files with 16 additions and 5 deletions

View File

@ -1,4 +0,0 @@
@echo off
mklink "%USERPROFILE%\_vimrc" "%CD%\.vimrc"
mklink "%USERPROFILE%\_gvimrc" "%CD%\.gvimrc"
mklink /J "%USERPROFILE%\vimfiles" "%CD%\.vim"

4
bin/link_nvim.bat Normal file
View File

@ -0,0 +1,4 @@
@echo off
pushd "%CD%\.."
mklink /J "%LOCALAPPDATA%\nvim" "%CD%"
popd

6
bin/link_vim.bat Normal file
View File

@ -0,0 +1,6 @@
@echo off
pushd "%CD%\.."
mklink "%USERPROFILE%\_vimrc" "%CD%\init.vim"
mklink "%USERPROFILE%\_gvimrc" "%CD%\gvim.vim"
mklink /J "%USERPROFILE%\vimfiles" "%CD%"
popd

View File

@ -1,3 +1,8 @@
GuiFont Source\ Code\ Pro:h10
GuiPopupmenu 0 GuiPopupmenu 0
GuiTabline 0 GuiTabline 0
if has('unix')
GuiFont Source\ Code\ Pro:h10
else
GuiFont! Lucida\ Console:h10
endif