Skip to content

AlexXi19/recall.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

recall.nvim

A NeoVim plugin which remembers where you've been

This project is built on top of memento.nvim and inspired by harpoon.

Recall

When you navigate around your project, your navigation history is saved and can be accessed via the recall menu. When the menu is open, you can also navigate by entering the number associated with the file.

(The plugin is mostly for my personal use, but PRs are welcome)

Install

use 'nvim-lua/plenary.nvim' -- if you already have this you don't need to include it again
use 'AlexXi19/recall.nvim'

Usage

-- Open up history popup menu
:lua require("recall").toggle()

-- Clear history
:lua require("recall").clear_history()

When the popup is visible, you can close it with q, Escape, or Ctrl-c and open up any file at any line by hitting Enter

Keybinding

nnoremap <C-e> <cmd>lua require('recall').toggle()<CR>
vim.keymap.set("n", "<C-e>", "<cmd>lua require('recall').toggle()<CR>")

Configuration

Variable Description Type Default
recall_history Length of the history int 20
recall_window_width Popup window's width int 80
recall_window_height Popup window's height int 14
vim.g.recall_history = 20
vim.g.recall_window_width = 80
vim.g.recall_window_height = 14

About

Easily navigate your file history

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published