fix: nvim clipboard behavior

This commit is contained in:
David JULIEN 2021-05-25 16:31:12 +02:00
parent 5529c37703
commit c4c010b067
2 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,8 @@
utils.map("n", "<space>", "<leader>") utils.map("n", "<space>", "<leader>")
utils.map("n", "<leader>j", "<cmd>bn<CR>") utils.map("n", "<leader>j", "<cmd>bn<CR>")
utils.map("n", "<leader>k", "<cmd>bp<CR>") utils.map("n", "<leader>k", "<cmd>bp<CR>")
utils.map("n", "<leader>y", "\"+y") utils.map("v", "<leader>y", "\"+y")
utils.map("v", "<leader>p", "\"+P") utils.map("n", "<leader>p", "\"+P")
utils.map("n", "<leader><enter>", "<cmd>w! | !compiler %<CR>") utils.map("n", "<leader><enter>", "<cmd>w! | !compiler %<CR>")
utils.map("n", "<leader>s", "<cmd>PackerSync<CR>") utils.map("n", "<leader>s", "<cmd>PackerSync<CR>")
utils.map("n", "<leader>c", "<cmd>ColorizerToggle<CR>") utils.map("n", "<leader>c", "<cmd>ColorizerToggle<CR>")

View File

@ -22,7 +22,6 @@ o.wildignore = [[
]] ]]
o.wildmode = "longest,full" o.wildmode = "longest,full"
o.wildoptions = "pum" o.wildoptions = "pum"
o.clipboard = "unnamedplus"
g.netrw_dirhistmax = 0 g.netrw_dirhistmax = 0
-- editor -- editor