40 lines
832 B
Lua
40 lines
832 B
Lua
-- global options
|
|
vim.g.mapleader = ";"
|
|
vim.g.clipboard = {
|
|
name = "sysclip",
|
|
copy = {
|
|
["+"] = {"xsel", "-b"},
|
|
["*"] = {"xsel", "-b"},
|
|
},
|
|
paste = {
|
|
["+"] = {"xsel", "-b"},
|
|
["*"] = {"xsel", "-b"},
|
|
},
|
|
}
|
|
|
|
-- general options
|
|
vim.o.cursorline = true
|
|
vim.o.colorcolumn = 120
|
|
vim.o.scrolloff = 8
|
|
--vim.o.clipboard = "unnamedplus"
|
|
vim.o.expandtab = true
|
|
vim.o.list = true
|
|
vim.o.mouse = "a"
|
|
|
|
-- window options
|
|
vim.wo.number = true
|
|
|
|
-- more
|
|
require("keybindings")
|
|
require("plugins")
|
|
|
|
gruvbox_ok, gruvbox = pcall(require, "gruvbox")
|
|
if gruvbox_ok then
|
|
vim.o.background = "dark"
|
|
vim.cmd [[
|
|
colorscheme gruvbox
|
|
highlight Normal ctermbg=None guibg=none
|
|
highlight CursorLine ctermbg=240
|
|
]]
|
|
end
|