Remove clipboard

This commit is contained in:
Christian Nieves
2023-10-11 22:02:46 +00:00
parent 2f7cb6f197
commit 41717501ec
4 changed files with 17 additions and 11 deletions

View File

@ -1,5 +1,19 @@
local map = require("utils").map
vim.g.clipboard = "lemonade"
if vim.env.SSH_TTY or vim.env.SSH_CLIENT or vim.env.SSH_CONNECTION then
vim.g.clipboard = {
name = "lemonade",
copy = {
["+"] = { "lemonade", "copy" },
["*"] = { "lemonade", "copy" },
},
paste = {
["+"] = { "lemonade", "paste" },
["*"] = { "lemonade", "paste" },
},
cache_enabled = false,
}
end
map("v", "<leader>y", '"+y')
map("v", "<leader>Y", '"*y')

View File

@ -1,4 +0,0 @@
local map = require("utils").map
map("n", "<C-n>", ":NERDTreeToggle<cr>")
map("n", "<C-f>", ":NERDTreeFind<cr>")