diff --git a/lua/plugins.lua b/lua/plugins.lua index f682618..82f3ad2 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -560,6 +560,23 @@ local plugins = { "nvim-telescope/telescope.nvim" } }, + { + 'fredeeb/tardis.nvim', + dependencies = { 'nvim-lua/plenary.nvim' }, + config = function () + require('tardis-nvim').setup { + keymap = { + ["next"] = '', -- next entry in log (older) + ["prev"] = '', -- previous entry in log (newer) + ["quit"] = 'q', -- quit all + ["revision_message"] = '', -- show revision message for current revision + ["commit"] = '', -- replace contents of origin buffer with contents of tardis buffer + }, + initial_revisions = 10, -- initial revisions to create buffers for + max_revisions = 256, -- max number of revisions to load + } + end + }, { 'BartSte/nvim-project-marks', lazy = false,