added telescope history
This commit is contained in:
@@ -89,4 +89,12 @@ return {
|
||||
version = "*",
|
||||
dependencies = 'nvim-tree/nvim-web-devicons'
|
||||
},
|
||||
|
||||
-- local history
|
||||
{
|
||||
'dawsers/telescope-file-history.nvim',
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope.nvim'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,6 +27,13 @@ telescope.setup({
|
||||
telescope.load_extension("fzf")
|
||||
telescope.load_extension("project")
|
||||
telescope.load_extension('harpoon')
|
||||
require('file_history').setup {
|
||||
-- This is the location where it will create your file history repository
|
||||
backup_dir = "~/.file-history-git",
|
||||
-- command line to execute git
|
||||
git_cmd = "git"
|
||||
}
|
||||
telescope.load_extension('file_history')
|
||||
-- telescope.load_extension("dap")
|
||||
|
||||
vim.api.nvim_set_keymap(
|
||||
|
||||
Reference in New Issue
Block a user