mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Make the mouse work as expected in nvim
This commit is contained in:
parent
3841505317
commit
e8c8bb9905
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ vim.opt.softtabstop = 2
|
||||||
vim.opt.shiftwidth = 2
|
vim.opt.shiftwidth = 2
|
||||||
vim.opt.shiftround = true
|
vim.opt.shiftround = true
|
||||||
|
|
||||||
|
-- make sure all the mouse stuff is on.
|
||||||
|
-- pressing alt to hightlight + copy/paste works like it does outside of nvim
|
||||||
|
vim.opt.mouse = "a"
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>h", ":nohlsearch<CR>")
|
vim.keymap.set("n", "<leader>h", ":nohlsearch<CR>")
|
||||||
|
|
||||||
vim.wo.relativenumber = true
|
vim.wo.relativenumber = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue