aboutsummaryrefslogtreecommitdiffstats
path: root/dotvimrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotvimrc')
-rw-r--r--dotvimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotvimrc b/dotvimrc
index 7e6bb40..45bc5c7 100644
--- a/dotvimrc
+++ b/dotvimrc
@@ -100,6 +100,11 @@ NeoBundle 'Tag-Signature-Balloons'
filetype plugin on
filetype indent on
+function! ToggleFullScreen()
+ call system("wmctrl -i -r ".v:windowid." -b toggle,fullscreen")
+ redraw
+endfunction
+
if has("gui_running")
"colorscheme bramwombat
colorscheme solarized
@@ -110,6 +115,9 @@ if has("gui_running")
set guifont=Lucida_Console:h10:cANSI
endif
+
+ nnoremap <Leader><F11> :call ToggleFullScreen()<CR>
+
else
colorscheme desert
endif