Split out config for gvim

This commit is contained in:
Alex Yatskov 2021-01-17 18:53:44 -08:00
parent b4bc9078ee
commit 3e6f0775cd
4 changed files with 17 additions and 18 deletions

15
.gvimrc Normal file
View File

@ -0,0 +1,15 @@
set columns=128
set lines=32
set guioptions-=L
set guioptions-=R
set guioptions-=T
set guioptions-=l
set guioptions-=m
set guioptions-=r
if has('unix')
set guifont=Source\ Code\ Pro\ Regular\ 10
else
set guifont=Lucida_Console:h10
endif

View File

@ -55,24 +55,6 @@ set ttyfast
set wildignore+=*/tmp/*
set wildmenu
if has('gui_running')
set columns=128
set lines=32
set guioptions-=L
set guioptions-=R
set guioptions-=T
set guioptions-=l
set guioptions-=m
set guioptions-=r
if has('unix')
set guifont=Source\ Code\ Pro\ Regular\ 10
else
set guifont=Lucida_Console:h10
endif
endif
if &shell =~ 'bin/fish'
set shell=/bin/sh
endif

View File

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

View File

@ -1,5 +1,6 @@
#!/bin/bash
ln -sf $PWD/.vimrc ~/
ln -sf $PWD/.gvimrc ~/
ln -sf $PWD/.vim ~/
ln -sf $PWD/.vim/nvim ~/.config/