https://github.com/d-e-s-o/buffed
https://github.com/d-e-s-o/buffed
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/d-e-s-o/buffed
- Owner: d-e-s-o
- License: gpl-3.0
- Created: 2021-09-13T03:06:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T18:18:44.000Z (11 months ago)
- Last Synced: 2025-02-15T19:25:31.126Z (11 months ago)
- Language: Lua
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
buffed
======
**buffed** is a trivial Neovim buffer management plugin. Its main
purpose is to facilitate the deletion of no longer used buffers, but it
can also be used to switch buffers. It aims to have no dependencies
other than Neovim itself.
Installation
------------
Installation typically happens by means of a plugin manager. For
[`Vundle`][vundle] the configuration could look like this:
```vim
call vundle#begin('~/.config/nvim/bundle')
...
Plugin 'd-e-s-o/buffed' "<---- relevant line
...
call vundle#end()
```
Configuration
-------------
As is common for plugins, **buffed** exposes its functionality in the
form of mainly one function, `BuffedShowBuffers`. Users should define a
key binding to invoke it. A sample Lua configuration looks like this:
```lua
-- Open buffer list in new window by pressing F3.
vim.keymap.set('n', '', ':lua require("buffed").BuffedShowBuffers()', {noremap = true})
```
[vundle]: https://github.com/VundleVim/Vundle.vim