added telescope history
parent
2e74a93297
commit
df75c9f658
7
init.lua
7
init.lua
|
@ -173,15 +173,14 @@ require('lazy').setup({
|
|||
},
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
-- Add indentation guides even on blank lines
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
-- Enable `lukas-reineke/indent-blankline.nvim`
|
||||
-- See `:help indent_blankline.txt`
|
||||
opts = {
|
||||
char = '┊',
|
||||
show_trailing_blankline_indent = false,
|
||||
},
|
||||
main = "ibl",
|
||||
opts = {},
|
||||
},
|
||||
|
||||
-- "gc" to comment visual regions/lines
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue