Created
September 28, 2015 23:24
-
-
Save Garoth/4a44202d3515705917a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Workspace Setup | |
" ---------------- | |
function! DefaultWorkspace() | |
" Rough num columns to decide between laptop and big monitor screens | |
let numcol = 2 | |
if winwidth(0) >= 220 | |
let numcol = 3 | |
endif | |
if numcol == 3 | |
e term://zsh | |
file Shell\ Two | |
vnew | |
endif | |
vsp term://~/Programs/golang/context | |
file Context | |
sp term://zsh | |
file Shell\ One | |
wincmd k | |
resize 4 | |
wincmd h | |
endfunction | |
command! -register DefaultWorkspace call DefaultWorkspace() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment