Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 680 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 680 Bytes

history.nvim

adds a browser-like buffer history to each window open in neovim.

Install

use {
  'wilfreddenton/history.nvim',
  requires = { { 'nvim-lua/plenary.nvim' } }
}

Setup

require('history').setup()

or

require('history').setup({
  keybinds = {
    back = '<your custom keybind>',
    forward = '<your custom keybind>'
    view = '<your custom keybind>'
  }
})

Usage

Default keybinds:

  • back: <leader>bb
  • forward: <leader>bf
  • view: <leader>bv

When the view popup is open, pressing q, <Esc>, or <C-c> will close it and pressing enter (<CR>) on any line will navigate the window to the referenced file.