My most minimal NixOS configuration.
at main 1.0 kB view raw
1local g = vim.g 2local o = vim.o 3 4-- general settings 5vim.api.nvim_command('filetype plugin indent on') 6vim.api.nvim_command('set colorcolumn=80') 7vim.cmd [[colorscheme moonfly]] 8 9-- editor settings 10o.ignorecase = true 11o.smartcase = true 12o.ruler = true 13o.ttyfast = true 14o.confirm = true 15o.shiftwidth = 8 16o.softtabstop = 8 17o.expandtab = false 18o.cindent = true 19o.wrap = false 20-- o.textwidth = 80 21o.list = true 22o.viewoptions = 'cursor,folds,slash,unix' 23o.jumpoptions = 'view' 24o.termguicolors = true 25 26-- line numbers 27o.relativenumber = true 28o.number = true 29o.numberwidth = 2 30o.signcolumn = 'yes:1' 31o.cursorline = true 32 33-- set same clipboard as OS 34o.clipboard = 'unnamedplus' 35 36-- neovide settings 37-- Set transparency and background color (title bar color) 38g.neovide_transparency = 1.0 39g.neovide_transparency_point = 1.0 40g.neovide_background_color = "#080808" 41 42-- fold options 43o.foldcolumn = '1' 44o.foldlevel = 99 45o.foldlevelstart = 99 46vim.foldenable = true 47 48-- neovide 49g.neovide_background_color = "#080808"