nvim-osc52: add for ssh copying
This commit is contained in:
parent
ccc6cdf55a
commit
98cd24b93e
3 changed files with 9 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -94,3 +94,6 @@
|
||||||
[submodule "pack/general/start/nvim-rc"]
|
[submodule "pack/general/start/nvim-rc"]
|
||||||
path = pack/general/start/nvim-rc
|
path = pack/general/start/nvim-rc
|
||||||
url = https://github.com/Dkendal/nvim-rc
|
url = https://github.com/Dkendal/nvim-rc
|
||||||
|
[submodule "pack/general/start/nvim-osc52"]
|
||||||
|
path = pack/general/start/nvim-osc52
|
||||||
|
url = https://github.com/ojroques/nvim-osc52
|
||||||
|
|
|
||||||
5
init.lua
5
init.lua
|
|
@ -543,3 +543,8 @@ require("dap-go").setup()
|
||||||
|
|
||||||
---- web-devicons
|
---- web-devicons
|
||||||
require("nvim-web-devicons").setup()
|
require("nvim-web-devicons").setup()
|
||||||
|
|
||||||
|
---- nvim-osc52
|
||||||
|
vim.keymap.set('n', '<leader>y', require('osc52').copy_operator, { expr = true })
|
||||||
|
vim.keymap.set('n', '<leader>yy', '<leader>y_', { remap = true })
|
||||||
|
vim.keymap.set('v', '<leader>y', require('osc52').copy_visual)
|
||||||
|
|
|
||||||
1
pack/general/start/nvim-osc52
Submodule
1
pack/general/start/nvim-osc52
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 3e96035d62290183fe7a11418db2b254fcfcaee3
|
||||||
Loading…
Add table
Reference in a new issue