-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(editing-support): add nvim-neoclip plugin (#450)
* feat(editing-support): add nvim-neoclip * forgot stylua formatting * incorporate suggestions * fix wrong category --------- Co-authored-by: Tony Fischer (tku137) <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" }, | ||
}, | ||
} |