nvim-maximize-window-toggle icon indicating copy to clipboard operation
nvim-maximize-window-toggle copied to clipboard

Toggle to maximize current buffer in a new tab and back

Toggles between the current window and the current buffer opened in a new tab page.

Command

:ToggleOnly

You have to define your own key bindings. For example:

nnoremap <leader>o :ToggleOnly<Enter>

Installation

Use your favourite plugin manager. For example, using Plug:

call plug#begin()
Plug 'caenrique/nvim-maximize-window-toggle'
call plug#end()