Home

Awesome

Popc

Popc is a layer based context manager, including layer for buffers, bookmarks and worksapces.....

Buffer layer will track all buffers and tabpages automatically, and displays buffers scooped under tabpages at the tabline.

<div align="center"> <img alt="Buffer" src="README/buf.gif" width=80% height=80% /> </div>

Workspace layer is mainly for saving/loading specified vim session along with user's settings required for workspace and layout of buffer layer.

<div align="center"> <img alt="Workspace" src="README/wks.gif" width=80% height=80% /> </div>

Bookmark layer is a convenient manager for bookmark files.

<div align="center"> <img alt="Bookmark" src="README/bms.gif" width=80% height=80% /> </div>

Support floating window of neovim(0.4.3+) and popupwin of vim (version 802+) with let g:Popc_useFloatingWin = 1.

Search

To search context of buffer, bookmark or workspace layer, use fuzzy plugins(like LeaderF, fzf, Telescope.nvim). And detailed can see popc.txt.

Add Customized layer

All you need to do is implementing one layer struct and add to s:popc. The Example layer can be a good example layer to start.

Plugins using popc:

Thinks

Popc is inspired by vim-CtrlSpapce and its one fork vim-CtrlSpapce.