add neoclip for neovim clipboard history
This commit is contained in:
parent
d5d97effcd
commit
14511ca5b1
3 changed files with 18 additions and 0 deletions
|
|
@ -97,6 +97,9 @@ require('lazy').setup({
|
||||||
-- Symbol usage plugin
|
-- Symbol usage plugin
|
||||||
require 'custom.plugins.symbol_usage',
|
require 'custom.plugins.symbol_usage',
|
||||||
|
|
||||||
|
-- Adding history for nvim clipboard
|
||||||
|
require 'custom.plugins.clip_history',
|
||||||
|
|
||||||
-- Autoformat markdown tables
|
-- Autoformat markdown tables
|
||||||
{
|
{
|
||||||
'Kicamon/markdown-table-mode.nvim',
|
'Kicamon/markdown-table-mode.nvim',
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
||||||
"nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" },
|
"nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "8a1529e46eef5efc86c34c8d9bdd313abc2ecba0" },
|
"nvim-lspconfig": { "branch": "master", "commit": "8a1529e46eef5efc86c34c8d9bdd313abc2ecba0" },
|
||||||
|
"nvim-neoclip.lua": { "branch": "main", "commit": "831a97c7697736411a05ff8b91e8798ea4c2d6fb" },
|
||||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "2586ea65faf45dcf1caf8d34510d50bb545c215a" },
|
"nvim-treesitter": { "branch": "master", "commit": "2586ea65faf45dcf1caf8d34510d50bb545c215a" },
|
||||||
"nvim-treesitter-context": { "branch": "master", "commit": "129fcc94fa986692926366e940a46f00d2a4abbe" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "129fcc94fa986692926366e940a46f00d2a4abbe" },
|
||||||
|
|
|
||||||
14
nvim/lua/custom/plugins/clip_history.lua
Normal file
14
nvim/lua/custom/plugins/clip_history.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
-- Adding history for nvim clipboard
|
||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'AckslD/nvim-neoclip.lua',
|
||||||
|
dependencies = {
|
||||||
|
{ 'nvim-telescope/telescope.nvim' },
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('neoclip').setup()
|
||||||
|
vim.keymap.set('n', '<leader>sc', ':Telescope neoclip<CR>', { desc = '[S]earch [C]lip history' })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue