Skip to content

Commit

Permalink
Support MacVim fullscreen
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Larson <kergoth@gmail.com>
  • Loading branch information
kergoth committed Jan 30, 2014
1 parent 80f04f0 commit 5d79d74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions autoload/xolox/shell.vim
Expand Up @@ -233,6 +233,12 @@ function! xolox#shell#fullscreen() " {{{1
if error != ''
throw "shell.dll failed with: " . error
endif
elseif has('macunix') && has('gui')
if !s:fullscreen_enabled
set fullscreen
else
set nofullscreen
endif
elseif has('unix')
if !executable('wmctrl')
let msg = "Full-screen on UNIX requires the `wmctrl' program!"
Expand Down

0 comments on commit 5d79d74

Please sign in to comment.