temp: disable neoclip

This commit is contained in:
Noah Masur 2022-01-13 18:45:12 -05:00
parent cc06fadcd9
commit 0b7221bd6a

View File

@ -338,7 +338,7 @@ require("packer").startup(function(use)
fzy_native = {}, fzy_native = {},
tmux = {}, tmux = {},
zoxide = {}, zoxide = {},
neoclip = {}, --neoclip = {},
project = { project = {
base_dirs = { "~/dev/work" }, base_dirs = { "~/dev/work" },
}, },
@ -369,26 +369,26 @@ require("packer").startup(function(use)
}) })
-- Clipboard history -- Clipboard history
use({ -- use({
"AckslD/nvim-neoclip.lua", -- "AckslD/nvim-neoclip.lua",
branch = "main", -- branch = "main",
requires = { -- requires = {
{ "tami5/sqlite.lua", module = "sqlite" }, -- { "tami5/sqlite.lua", module = "sqlite" },
{ "nvim-telescope/telescope.nvim" }, -- { "nvim-telescope/telescope.nvim" },
}, -- },
config = function() -- config = function()
require("neoclip").setup({ -- require("neoclip").setup({
enable_persistant_history = true, -- enable_persistant_history = true,
default_register = { "+", '"' }, -- default_register = { "+", '"' },
keys = { -- keys = {
telescope = { -- telescope = {
i = { paste = "<c-v>" }, -- i = { paste = "<c-v>" },
}, -- },
}, -- },
}) -- })
require("telescope").load_extension("neoclip") -- require("telescope").load_extension("neoclip")
end, -- end,
}) -- })
-- Project bookmarks -- Project bookmarks
use({ use({
@ -564,16 +564,16 @@ choose_project = function()
require("telescope").extensions.project.project(opts) require("telescope").extensions.project.project(opts)
end end
clipboard_history = function() -- clipboard_history = function()
local opts = require("telescope.themes").get_cursor({ -- local opts = require("telescope.themes").get_cursor({
layout_config = { -- layout_config = {
cursor = { -- cursor = {
width = 150, -- width = 150,
}, -- },
}, -- },
}) -- })
require("telescope").extensions.neoclip.neoclip(opts) -- require("telescope").extensions.neoclip.neoclip(opts)
end -- end
command_history = function() command_history = function()
local opts = require("telescope.themes").get_ivy({ local opts = require("telescope.themes").get_ivy({