forked from mutewinter/dot_vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatforms.vim
35 lines (28 loc) · 861 Bytes
/
platforms.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
" ----------------------------------------
" Platform Specific Configuration
" ----------------------------------------
if has('win32') || has('win64')
" Windows
source $VIMRUNTIME/mswin.vim
set guifont=Consolas:h10
set guioptions-=T " Toolbar
set guioptions-=m " Menubar
" Set height and width on Windows
set lines=60
set columns=120
" Disable quickfixsigns on Windows due to incredible slowdown.
let g:loaded_quickfixsigns=1
" Windows has a nasty habit of launching gVim in the wrong working directory
cd ~
elseif has('gui_macvim')
" MacVim
" Custom Menlo font for Powerline
" From: https://github.com/Lokaltog/vim-powerline/wiki/Patched-fonts
set guifont=Menlo\ for\ Powerline:h12
" Hide Toolbar in MacVim
if has("gui_running")
set guioptions=egmrt
endif
" Use option (alt) as meta key.
set macmeta
endif