Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FredeEB/tardis.nvim
Timetravel for neovim
https://github.com/FredeEB/tardis.nvim
neovim neovim-plugin nvim nvim-plugin
Last synced: 3 months ago
JSON representation
Timetravel for neovim
- Host: GitHub
- URL: https://github.com/FredeEB/tardis.nvim
- Owner: FredeEB
- License: mit
- Created: 2023-10-24T23:43:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-22T13:38:00.000Z (5 months ago)
- Last Synced: 2024-06-22T21:48:41.634Z (5 months ago)
- Topics: neovim, neovim-plugin, nvim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 105 KB
- Stars: 104
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: ./assets/tardis.webp
Tardis allows you to travel in time (git history) scrolling through each
revision of your current file.Inspired by
`git-timemachine `__
which I used extensively when I was using emacs.Installation
============Like with any other
.. code:: lua
{
'fredeeb/tardis.nvim',
dependencies = { 'nvim-lua/plenary.nvim' },
config = true,
}The default options are
.. code:: lua
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
}Usage
=====Using tardis is pretty simple
::
:Tardis
This puts you into a new buffer where you can use the keymaps, like
described above, to navigate the revisions of the currently open fileList of currently supported adapters:
* git
Known issues
============See |issues|
Contributing
============Go ahead :)
.. |issues| image:: https://github.com/FredeEB/tardis.nvim/issues