enable mouse and map visual selection to clipboard
This commit is contained in:
parent
d3a56f6513
commit
30ef275312
1 changed files with 4 additions and 1 deletions
5
init.lua
5
init.lua
|
|
@ -93,7 +93,6 @@ vim.opt.suffixes = {
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.opt.completeopt = "menu,menuone,noselect"
|
vim.opt.completeopt = "menu,menuone,noselect"
|
||||||
vim.opt.mouse = ""
|
|
||||||
vim.opt.shortmess = vim.o.shortmess .. "c"
|
vim.opt.shortmess = vim.o.shortmess .. "c"
|
||||||
|
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
|
|
@ -153,3 +152,7 @@ key("v", "gs", "<cmd>'<,'>sort<CR>", { desc = "sort selection" })
|
||||||
|
|
||||||
key("n", "<M-b>", "<cmd>bnext<cr>", { desc = "next buffer" })
|
key("n", "<M-b>", "<cmd>bnext<cr>", { desc = "next buffer" })
|
||||||
key("n", "<M-S-b>", "<cmd>bprevious<cr>", { desc = "previous buffer" })
|
key("n", "<M-S-b>", "<cmd>bprevious<cr>", { desc = "previous buffer" })
|
||||||
|
|
||||||
|
key("v", "<LeftRelease>", "\"*ygv")
|
||||||
|
key("v", "<2-LeftRelease>", "\"*ygv")
|
||||||
|
key("v", "<3-LeftRelease>", "\"*ygv")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue