Move to Chezmoi
This commit is contained in:
parent
f216c4ff2c
commit
e3498e73b5
59 changed files with 499 additions and 2240 deletions
chezmoi/private_dot_config/nvim/lua
28
chezmoi/private_dot_config/nvim/lua/settings.lua
Normal file
28
chezmoi/private_dot_config/nvim/lua/settings.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
local g = vim.g
|
||||
local opt = vim.opt
|
||||
local cmd = vim.cmd
|
||||
|
||||
-- color theme
|
||||
-- gruvbox is used via the autocmd require
|
||||
g.gruvbox_contrast_dark = "hard" -- hard contrast mode for gruvobx
|
||||
opt.background = "dark" -- make sure dark mode is used
|
||||
|
||||
opt.termguicolors = true -- enable 24 bit colors
|
||||
opt.mouse = 'c' -- disable mouse
|
||||
opt.number = true -- show line numbers
|
||||
-- opt.cursorline = true -- highlight the line that the cursor is on
|
||||
opt.laststatus = 2 -- always show the status line
|
||||
opt.autoindent = true -- turn on autoindent
|
||||
opt.smarttab = true -- turn on smart tabs
|
||||
opt.incsearch = true -- turn on incremental search
|
||||
opt.ruler = true -- show ruler on page
|
||||
opt.lazyredraw = true -- make large files bearable
|
||||
opt.regexpengine = 1 -- make searching large files bearable
|
||||
|
||||
-- tabs look like 4 spaces
|
||||
opt.expandtab = true
|
||||
opt.tabstop = 4
|
||||
opt.shiftwidth = 4
|
||||
opt.softtabstop = 4
|
||||
|
||||
cmd('filetype plugin indent on')
|
Loading…
Add table
Add a link
Reference in a new issue