An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# history.nvim

![https://github.com/lukeb06/history.nvim/blob/master/.github/screenshot.png](https://github.com/lukeb06/history.nvim/blob/master/.github/screenshot.png?raw=true)


### 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 = "",
},
},
},
}
```