nvim: add persisted
This commit is contained in:
parent
f10efa6808
commit
a1736b33e0
@ -35,6 +35,7 @@
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
|
||||
"oil.nvim": { "branch": "master", "commit": "b77ed915ab1e53720a6283702816cea2695a2638" },
|
||||
"orgmode": { "branch": "master", "commit": "cc51c1914e3f0bf20bd543a7176df5bab12ec247" },
|
||||
"persisted.nvim": { "branch": "main", "commit": "0a9eebf5cc92b1113a382a660ee73f21ffd62ae7" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
|
||||
"telescope-git-grep.nvim": { "branch": "main", "commit": "814217cb30c076bc5edebe36e525b05a7c9eb4b2" },
|
||||
|
19
nvim/.config/nvim/lua/plugins/persisted.lua
Normal file
19
nvim/.config/nvim/lua/plugins/persisted.lua
Normal file
@ -0,0 +1,19 @@
|
||||
return {
|
||||
"olimorris/persisted.nvim",
|
||||
lazy = false, -- make sure the plugin is always loaded at startup
|
||||
config = function()
|
||||
require("persisted").setup({
|
||||
autoload = true,
|
||||
ignored_dirs = {
|
||||
"~/.config",
|
||||
"~/tmp",
|
||||
"/tmp",
|
||||
{ "/", exact = true },
|
||||
},
|
||||
})
|
||||
require("telescope").load_extension("persisted")
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>sp", "<cmd>:Telescope persisted<cr>", desc = "Search [P]ersisted" },
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user