Skip to content

JPricey/vim-clear-bufs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Clear Bufs

Helpers for unloading buffers.

Usage

:ClearBufs[!]

Unload all inactive buffers (buffers which are not in any windows). Append ! to delete modified buffers.

:ClearCurrent[!]

Unload the current buffer. All windows with the current buffer open will try to switch to the alternate buffer if it is loaded. If there is no alternate buffer, or it is not loaded, the window will try to open the next listed buffer. If that doesn't exist either, they will fallback to a new empty buffer. Append ! to exit modified buffers.

:ClearSwapLoaded[!] An alternative to <C-^> which will try to switch to the alternate buffer if it is loaded. If there is no alternate buffer, or it is not loaded, the window will try to open the next listed buffer. Append ! to leave a modified buffer if hidden is not set.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published