Compare commits
No commits in common. "f59b6eedae27085f7430e6d4237f7d3041377d0e" and "410d1c14a3c6062aeccadedf8dac7d39c9da8aa8" have entirely different histories.
f59b6eedae
...
410d1c14a3
2 changed files with 14 additions and 0 deletions
12
lua/plugins/neoclip.lua
Normal file
12
lua/plugins/neoclip.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
return {
|
||||
"AckslD/nvim-neoclip.lua",
|
||||
dependencies = { "kkharji/sqlite.lua" },
|
||||
config = function()
|
||||
require("neoclip").setup({
|
||||
history = 1000,
|
||||
enable_persistent_history = true,
|
||||
db_path = vim.fn.stdpath("data") .. "~/.config/databases/neoclip.sqlite3",
|
||||
default_register = "+",
|
||||
})
|
||||
end,
|
||||
}
|
|
@ -6,6 +6,7 @@ return {
|
|||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||
"debugloop/telescope-undo.nvim",
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
"AckslD/nvim-neoclip.lua",
|
||||
},
|
||||
config = function()
|
||||
require("telescope").setup({
|
||||
|
@ -24,6 +25,7 @@ return {
|
|||
pcall(require("telescope").load_extension, "scaladex")
|
||||
pcall(require("telescope").load_extension, "ui-select")
|
||||
pcall(require("telescope").load_extension, "undo")
|
||||
pcall(require("telescope").load_extension, "neoclip")
|
||||
|
||||
-- See `:help telescope.builtin`
|
||||
vim.keymap.set("n", "<leader>?", require("telescope.builtin").oldfiles, { desc = "[?] Find recently opened files" })
|
||||
|
|
Loading…
Reference in a new issue