Skip to content

habamax/vim-winlayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Save and restore vim window layouts

WIP

Automatically save window layout and let user revisit it.

vim winlayout

Setup

Add mappings:

" no default mappings are provided, map it in your vimrc
nmap <F3> <Plug>(WinlayoutBackward)
nmap <F4> <Plug>(WinlayoutForward)

Change layout history size:

" default is 20
let g:winlayout_max = 40

Known Limitations

Still looking for solutions.

  1. Fugitive buffers are not properly handled.

  2. Doesn’t auto save layout on split window size change, for example, when you change it with mouse. (though sizes are saved if triggered by existing autocommands)

About

Save and restore history of vim window layouts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages