Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(editing-support): add nvim-neoclip plugin #450

Merged
merged 4 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lua/astrocommunity/register/nvim-neoclip-lua/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# nvim-neoclip

`neoclip` is a clipboard manager for neovim inspired by for example [`clipmenu`](https://github.com/cdown/clipmenu).
It records everything that gets yanked in your vim session (up to a limit which is by default 1000 entries but can be configured).
You can then select an entry in the history using [`telescope`](https://github.com/nvim-telescope/telescope.nvim) or [`fzf-lua`](https://github.com/ibhagwan/fzf-lua) which then gets populated in a register of your choice.

**Repository:** <https://github.com/AckslD/nvim-neoclip.lua>

14 changes: 14 additions & 0 deletions lua/astrocommunity/register/nvim-neoclip-lua/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
return {
"AckslD/nvim-neoclip.lua",
event = { "User AstroFile", "InsertEnter" },
dependencies = {
{ "nvim-telescope/telescope.nvim" },
},
config = function(_, opts)
require("neoclip").setup(opts)
require("telescope").load_extension "neoclip"
end,
keys = {
{ "<leader>fy", "<cmd>Telescope neoclip<cr>", desc = "Find yanks (neoclip)" },
},
}