public
Created

  • Download Gist
gvimrc.local
1 2 3 4 5 6 7 8 9 10 11 12 13 14
set fuoptions=maxvert
 
function ToggleFullScreen()
if exists("s:old_columns")
set columns=s:old_columns
set nofu
unlet s:old_columns
else
let s:old_columns=&columns
set columns=84 fu
endif
endfunction
 
map <Leader>fu :call ToggleFullScreen()<CR>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.