[n]vim plugin, toggle maximize your window
Either call ToggleMaximizeCurrentWindow
explicitly with:
:call ToggleMaximizeCurrentWindow()
or map it in your ~/.vimrc
(or ~/.config/nvim/init.vim
if you use nvim)
map <silent> <C-m> :call ToggleMaximizeCurrentWindow()<CR>