Compare commits
No commits in common. "410d1c14a3c6062aeccadedf8dac7d39c9da8aa8" and "1878ca5f5c5d2e4fca3c52991c457f93dec33cc5" have entirely different histories.
410d1c14a3
...
1878ca5f5c
1 changed files with 59 additions and 8 deletions
|
@ -1,12 +1,63 @@
|
||||||
return {
|
return {
|
||||||
"AckslD/nvim-neoclip.lua",
|
"AckslD/nvim-neoclip.lua",
|
||||||
dependencies = { "kkharji/sqlite.lua" },
|
dependencies = { "kkharji/sqlite.lua" },
|
||||||
config = function()
|
keys = {
|
||||||
require("neoclip").setup({
|
{ "<leader>sp", "<cmd>Telescope neoclip<cr>", desc = "Neoclip" },
|
||||||
history = 1000,
|
},
|
||||||
enable_persistent_history = true,
|
opts = {
|
||||||
db_path = vim.fn.stdpath("data") .. "~/.config/databases/neoclip.sqlite3",
|
history = 1000,
|
||||||
default_register = "+",
|
enable_persistent_history = true,
|
||||||
})
|
length_limit = 1048576,
|
||||||
end,
|
continuous_sync = false,
|
||||||
|
db_path = vim.fn.stdpath("data") .. "~/.config/databases/neoclip.sqlite3",
|
||||||
|
filter = nil,
|
||||||
|
preview = true,
|
||||||
|
prompt = nil,
|
||||||
|
default_register = '"',
|
||||||
|
default_register_macros = "q",
|
||||||
|
enable_macro_history = true,
|
||||||
|
content_spec_column = false,
|
||||||
|
disable_keycodes_parsing = false,
|
||||||
|
on_select = {
|
||||||
|
move_to_front = false,
|
||||||
|
close_telescope = true,
|
||||||
|
},
|
||||||
|
on_paste = {
|
||||||
|
set_reg = false,
|
||||||
|
move_to_front = false,
|
||||||
|
close_telescope = true,
|
||||||
|
},
|
||||||
|
on_replay = {
|
||||||
|
set_reg = false,
|
||||||
|
move_to_front = false,
|
||||||
|
close_telescope = true,
|
||||||
|
},
|
||||||
|
on_custom_action = {
|
||||||
|
close_telescope = true,
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
telescope = {
|
||||||
|
i = {
|
||||||
|
select = "<cr>",
|
||||||
|
paste = "<c-p>",
|
||||||
|
paste_behind = "<c-k>",
|
||||||
|
replay = "<c-q>", -- replay a macro
|
||||||
|
delete = "<c-d>", -- delete an entry
|
||||||
|
edit = "<c-e>", -- edit an entry
|
||||||
|
custom = {},
|
||||||
|
},
|
||||||
|
n = {
|
||||||
|
select = "<cr>",
|
||||||
|
paste = "p",
|
||||||
|
--- It is possible to map to more than one key.
|
||||||
|
-- paste = { 'p', '<c-p>' },
|
||||||
|
paste_behind = "P",
|
||||||
|
replay = "q",
|
||||||
|
delete = "d",
|
||||||
|
edit = "e",
|
||||||
|
custom = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue