You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
879 B
Lua

local HOME = os.getenv("HOME")
vim.opt.number = true
vim.opt.hlsearch = false
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.swapfile = false
vim.opt.undodir = HOME .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.scrolloff = 8
vim.opt.showmode = false
vim.opt.winblend = 0
vim.opt.wildoptions = "pum"
vim.opt.pumblend = 5
vim.opt.background = "dark"
vim.opt.cursorline = true
vim.opt.cmdheight = 2
vim.opt.hidden = true
vim.opt.termguicolors = true
vim.opt.completeopt = { "menu", "menuone", "noselect" }
1 year ago
vim.o.guifont = "Roboto Mono for Powerline:h14"
vim.cmd([[
syntax on
syntax enable
hi CursorLine cterm=NONE ctermbg=237 ctermfg=NONE
set clipboard+=unnamedplus
]])
1 year ago
if vim.g.neovide then
vim.opt.linespace = 4
vim.g.neovide_cursor_animation_length = 0
end