https://github.com/axertheaxe/buffer-store.nvim
Stores various buffer related information in Neovim.
https://github.com/axertheaxe/buffer-store.nvim
neovim-lua neovim-plugin
Last synced: 3 months ago
JSON representation
Stores various buffer related information in Neovim.
- Host: GitHub
- URL: https://github.com/axertheaxe/buffer-store.nvim
- Owner: AxerTheAxe
- License: unlicense
- Created: 2024-02-12T22:56:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-12T06:53:53.000Z (about 1 year ago)
- Last Synced: 2025-01-21T21:07:18.392Z (5 months ago)
- Topics: neovim-lua, neovim-plugin
- Language: Lua
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Buffer-Store
Stores various buffer related information in Neovim.
## Functionality
* Stores the cursor position for each buffer.
* Stops your view from being centered when switching between buffers.
* Stores the directories of buffers with no name.
* Stops buffers with no associated file from losing their directory when switching between buffers.
* :ENoName command.
* Creates a new buffer with no associated file at the specified directory.## Configuration
The default configuration is as such:
```lua
require("buffer_store").setup({
cursor_position = {
-- Store cursor position
enabled = false,
},no_name = {
-- Store no name buffer directories
enabled = false,-- Print the new working directory when creating a new no name buffer
pwd = true,
},
})
```## Contributing
If you have any suggestions or problems, please [submit an issue](https://github.com/AxerTheAxe/buffer-store.nvim/issues/new).
If you would like to contribute code, [pull requests are welcome](https://github.com/AxerTheAxe/buffer-store.nvim/compare).## License
This project is licensed under the [Unlicense](LICENSE) license.