https://github.com/lukeb06/history.nvim
A lightweight Neovim plugin for quickly navigating buffers
https://github.com/lukeb06/history.nvim
lua neovim neovim-plugin
Last synced: 10 months ago
JSON representation
A lightweight Neovim plugin for quickly navigating buffers
- Host: GitHub
- URL: https://github.com/lukeb06/history.nvim
- Owner: lukeb06
- License: mit
- Created: 2025-02-10T16:45:32.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-04-04T01:25:14.000Z (10 months ago)
- Last Synced: 2025-04-04T01:25:19.366Z (10 months ago)
- Topics: lua, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 450 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# history.nvim

### A Neovim plugin for viewing and navigating your recently visited buffers.
> Requires [nui.nvim](https://github.com/MunifTanjim/nui.nvim)
## Installation and Configuration
> with [lazy.nvim](https://lazy.folke.io/)
```lua
return {
"lukeb06/history.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-tree/nvim-web-devicons", -- optional
},
config = true,
opts = {
forward_key = "", -- (default) key to open the UI. once opened, pressing this key will cycle forward through the buffer history.
backward_key = "", -- (default) this key does not open the UI, but will cycle backwards through the buffer history UI when open.
width = "40%", -- (default) width of the UI, can be a percentage or a number.
height = "60%", -- (default) height of the UI, can be a percentage or a number.
persist = true, -- (default) whether to persist the UI across sessions. (this is per directory)
icons = {
enable = false,
custom = { -- Add custom icons for filetypes
-- lua = "",
-- markdown = "",
},
},
},
}
```