21 lines
500 B
Lua
21 lines
500 B
Lua
local opt = vim.opt
|
|
|
|
opt.number = true
|
|
opt.relativenumber = true
|
|
opt.swapfile = false
|
|
opt.wrap = false
|
|
opt.splitright = true
|
|
opt.splitbelow = true
|
|
|
|
vim.cmd.colorscheme("vague")
|
|
|
|
if vim.g.neovide then
|
|
vim.o.guifont = "ComicShannsMono Nerd Font"
|
|
|
|
local function copy() vim.cmd([[normal! "+y]]) end
|
|
local function paste() vim.api.nvim_paste(vim.fn.getreg("+"), true, -1) end
|
|
|
|
vim.keymap.set("v", "<S-C-c>", copy, { silent = true })
|
|
vim.keymap.set({ "n", "i", "v", "c", "t" }, "<S-C-v>", paste)
|
|
end
|