Add smartyank.nvim

This commit is contained in:
Kevin MacMartin 2024-08-12 15:53:09 -04:00
parent 2b81695301
commit b557cc2abc
4 changed files with 28 additions and 1 deletions

3
.gitmodules vendored
View file

@ -82,3 +82,6 @@
[submodule "vim/bundle/qf.nvim"] [submodule "vim/bundle/qf.nvim"]
path = vim/bundle/qf.nvim path = vim/bundle/qf.nvim
url = https://github.com/ten3roberts/qf.nvim url = https://github.com/ten3roberts/qf.nvim
[submodule "vim/bundle/smartyank.nvim"]
path = vim/bundle/smartyank.nvim
url = https://github.com/ibhagwan/smartyank.nvim

View file

@ -130,7 +130,8 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
* [nvim-surround](https://github.com/kylechui/nvim-surround): Add/change/delete surrounding delimiter pairs with ease * [nvim-surround](https://github.com/kylechui/nvim-surround): Add/change/delete surrounding delimiter pairs with ease
* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): Treesitter configurations and abstraction layer for Neovim * [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): Treesitter configurations and abstraction layer for Neovim
* [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects): Syntax aware text-objects, select, move, swap, and peek support * [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects): Syntax aware text-objects, select, move, swap, and peek support
* [qf.nvim](https://github.com/ten3roberts/qf.nvim): Extends the default quickfix and location lists for neovim * [qf.nvim](https://github.com/ten3roberts/qf.nvim): Extends the default quickfix and location lists for neovim
* [smartyank.nvim](https://github.com/ibhagwan/smartyank.nvim): An opinionated (yet customizable) yank
* [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multi-line and single-line code * [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multi-line and single-line code
* [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment * [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment
* [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own * [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own

@ -0,0 +1 @@
Subproject commit d9e078fe08d6466e37ea45ac446a9f60e6866789

View file

@ -0,0 +1,22 @@
require("smartyank").setup {
validate_yank = false,
highlight = {
enabled = false,
},
clipboard = {
enabled = true,
},
tmux = {
enabled = true,
cmd = { "tmux", "set-buffer", "-w" },
},
osc52 = {
enabled = true,
ssh_only = true,
silent = true,
},
}